Commit Graph

1461 Commits

Author SHA1 Message Date
Marcin Grzejszczak
e2de25f02d Adding order for TraceFilter; fixes gh-1020 2018-08-22 11:02:44 +02:00
Alvin
707f3714d6 Close span when Exception is ClientAbortException (#1040)
* close span when Exception is ClientAbortException
* Support custom to ignore exception in trace.
* explicit import statements
* Add test to verify that the span got reported. Fix typo.

Fixes gh-1038
2018-07-30 15:30:39 +02:00
buildmaster
3511b1621b Bumping versions to 1.3.5.BUILD-SNAPSHOT after release 2018-06-29 19:50:53 +00:00
buildmaster
870498a01f Going back to snapshots 2018-06-29 19:50:52 +00:00
buildmaster
9795a98c68 Update SNAPSHOT to 1.3.4.RELEASE 2018-06-29 19:48:36 +00:00
Marcin Grzejszczak
bfa36fc71d Removed hystrix from feign tests 2018-06-29 21:35:21 +02:00
Ryan Baxter
ebdefafc5d adding spring boot autonconfigure processor 2018-06-11 10:37:46 -04:00
Marcin Grzejszczak
6d5a8a60f1 ADded mechanism to fallback from the deprecated sleuth-stream module
without this change the kafka binder wasn't able to propagate tracing headers without explicitly adding on classpath the deprecated sleuth-stream module
with this change we're adding the stream support in core of Sleuth

fixes gh-1005
2018-06-11 15:18:43 +02:00
Marcin Grzejszczak
503e7fe917 Added missing version for hamcrest. Fixes gh-993 2018-05-29 10:12:59 +02:00
Marcin Grzejszczak
3efc26d580 Checks if DirectClass is on the classpath; fixes gh-976 2018-05-07 20:56:55 +02:00
Marcin Grzejszczak
ed51793a79 Cached is class present; fixes gh-958 2018-04-26 12:11:41 +02:00
Marcin Grzejszczak
87ed7b8291 Reuses the span from a message only for non direct channels; fixes gh-943 (#945) 2018-04-16 10:37:58 +02:00
Adrian Cole
baaade76db Moves to zipkin 2.7.1 which fixes EnableZipkinServer bug 2018-04-08 09:14:26 +08:00
Marcin Grzejszczak
98d6572ebc Fixes proxy issues; fixes gh-932 2018-04-07 23:22:42 +02:00
Adrian Cole
51e66dba22 Moves to latest Zipkin and formally deprecates the stream server (#931)
Our docs deprecated the spring-cloud-sleuth-zipkin-stream, but the
project didn't.
2018-04-07 08:45:38 +02:00
Marcin Grzejszczak
f070a88fc7 Fixed test 2018-04-06 22:39:31 +02:00
Marcin Grzejszczak
7f73677bc8 Spel security fix; fixes gh-917 2018-04-06 17:06:47 +02:00
Marcin Grzejszczak
7e81e74a9c Polished docs 2018-04-04 17:12:28 +02:00
Marcin Grzejszczak
50c81da505 Added docs related to customization of zipkin rest template; fixes gh-924 2018-04-04 17:09:05 +02:00
Marcin Grzejszczak
1c1b963862 Polish 2018-03-29 09:57:05 +02:00
Marcin Grzejszczak
eb9b305f7f Added a property to toggle discovery client support for zipkin client. Fixes gh-919 2018-03-29 09:39:38 +02:00
buildmaster
5ed219e34f Bumping versions to 1.3.4.BUILD-SNAPSHOT after release 2018-03-26 23:09:58 +00:00
buildmaster
fc1942e940 Going back to snapshots 2018-03-26 23:09:57 +00:00
buildmaster
738aaed797 Update SNAPSHOT to 1.3.3.RELEASE 2018-03-26 23:07:40 +00:00
Adrian Cole
3b16cc6190 Re-misaligns old zipkin version and removes internal class use 2018-03-22 23:52:00 +08:00
Adrian Cole
91ea1e0457 Bumps zipkin versions 2018-03-22 23:20:18 +08:00
Adrian Cole
eb34bfbedb Adds test to make sure RestTemplate sender doesn't mess with json
There was some doubt on gitter about sleuth generating spans with floating-point
rendered timestamps. While this shouldn't break people we certainly shouldn't
create json like this.

This was presumed to be caused by sleuth's rest template sender by @mojsha who
was trying Jaeger. Jaeger's parser doesn't give any errors with a 400.
```json
[
{
"traceId": "a65dac9d8bbb57f8",
"parentId": "a65dac9d8bbb57f8",
"id": "f223bb97e1eba9b2",
"kind": "SERVER",
"name": "https:\/hello3",
"timestamp": 1.521027116604e+15,
"duration": 1525,
"localEndpoint": {
"serviceName": "${spring.application.name}",
"ipv4": "10.128.6.98",
"port": 8443
},
```

I added a test to make sure it is not the case.
2018-03-14 20:41:06 +08:00
Marcin Grzejszczak
3e77213a82 Added one more entry about sampling 2018-03-11 09:56:49 +01:00
Marcin Grzejszczak
be9ee587ac Reverted the temporary async reporter code 2018-03-07 09:07:53 -05:00
Marcin Grzejszczak
433e7c301a Documented how to use spring cloud function; fixes gh-853 2018-03-07 08:43:22 -05:00
Marcin Grzejszczak
2f4a7fbde0 Added a filter condition to the reactor span pointcut; fixes gh-646 2018-03-01 10:57:52 +01:00
Marcin Grzejszczak
449db63f81 Removed the check for null payload 2018-02-19 12:17:08 +01:00
Marcin Grzejszczak
a8587b68e3 Added a check for null message / message payload
fixes gh-861
2018-02-19 11:59:03 +01:00
Marcin Grzejszczak
a968620c5c Bumping libs 2018-02-16 13:37:56 +01:00
Marcin Grzejszczak
aa8edc9e7d Wrapping a DestinationResolver in an aspect that adds an interceptor if it's not there already
fixes gh-838
2018-02-16 12:22:34 +01:00
Marcin Grzejszczak
e50005e5f6 Fixed the build 2018-02-15 17:51:06 +01:00
Marcin Grzejszczak
64b5cb6072 Added additional check for standard 4xx errors; fixes gh-859 2018-02-15 16:53:18 +01:00
Marcin Grzejszczak
0a5fa8bdad Not closing a span if exception happened and error controller is present; fixes gh-859 2018-02-15 13:24:17 +01:00
Marcin Grzejszczak
3224cc6b38 Updated docs about forcing means of sending spans to zipkin; fixes gh-862 2018-02-15 12:31:11 +01:00
Marcin Grzejszczak
20891321a3 Fixes DirectChannel support (#860)
without this change for DirectChannel `beforeHandle` and `afterHandle` were not called at all
with this change we're removing any hacks and we're executing those methods

fixes gh-821
2018-02-14 23:07:51 +01:00
Marcin Grzejszczak
68dc29a0ed wrapping all rest templates via BPP; fixes gh-846 2018-02-14 17:58:54 +01:00
Marcin Grzejszczak
19ae79be7d Retreiving service instance URI directly; fixes gh-840 2018-02-14 16:24:17 +01:00
Marcin Grzejszczak
91d1bf89aa Stopped setting CS in pre zuul filter; fixes gh-849 2018-02-14 14:33:18 +01:00
Marcin Grzejszczak
1c1aca667a ZipkinExtractor uses SkipPatternProvider; fixes gh-851 2018-02-13 15:55:00 +01:00
Marcin Grzejszczak
48ac636b8c Not closing a span if it got already closed; fixes gh-842 2018-02-13 15:34:22 +01:00
Marcin Grzejszczak
33fda4e700 Added an example with custom rest template builder 2018-02-12 13:30:50 +01:00
Marcin Grzejszczak
d62756e3b1 Updated tests 2018-02-12 11:19:41 +01:00
Marcin Grzejszczak
e1088f5700 Lazy rest template interceptor injection
without this change there was a ciruclar dependency between rest template, rest template builder creation and instrumentation
with this change, in the post construct phase we're setting values for rest template lazilly

fixes gh-852
2018-02-12 11:07:22 +01:00
Marcin Grzejszczak
14a7af970d Updated docs and deps 2018-02-12 10:12:38 +01:00
buildmaster
de2a4f2de0 Bumping versions to 1.3.3.BUILD-SNAPSHOT after release 2018-02-08 18:50:14 +00:00