Commit Graph

814 Commits

Author SHA1 Message Date
Marcin Grzejszczak
88d17f79f3 Introduce sampling logic when incoming request has only trace and span ids
without this change when there were tracing headers without sampled decision, we always exported the span.
with this change if:

Trace Id and Span Id are set but there is no Sampled flag - delegate sampling decision to Sampler
Trace Id and Span Id and Sampled flag are set - pass the value from Sampled Flag

fixes gh-1115
2018-10-25 23:26:12 +02:00
buildmaster
6839a23183 Bumping versions to 1.3.6.BUILD-SNAPSHOT after release 2018-10-15 23:53:08 +00:00
buildmaster
3dadf37582 Going back to snapshots 2018-10-15 23:53:07 +00:00
buildmaster
f037623b5b Update SNAPSHOT to Edgware.SR5 2018-10-15 23:48:02 +00:00
Marcin Grzejszczak
a237495ccf Polish 2018-09-11 14:16:32 +02:00
Marcin Grzejszczak
bef30d698b Updated the implementation to contain all b3 propagation mechanism; fixes gh-1077 2018-09-11 14:14:05 +02:00
Marcin Grzejszczak
b7302a61f6 Picks tracing data from B3 if present; fixes gh-1077 2018-09-07 16:19:07 +02:00
Marcin Grzejszczak
d1dba30086 Fixed the header overriding for stream env post processor
fixes gh-1064
2018-09-03 10:37:34 +02:00
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
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
Marcin Grzejszczak
98d6572ebc Fixes proxy issues; fixes gh-932 2018-04-07 23:22:42 +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
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
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
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
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
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
buildmaster
de2a4f2de0 Bumping versions to 1.3.3.BUILD-SNAPSHOT after release 2018-02-08 18:50:14 +00:00
buildmaster
d27c492e6e Going back to snapshots 2018-02-08 18:50:13 +00:00
buildmaster
7115086fc1 Update SNAPSHOT to 1.3.2.RELEASE 2018-02-08 18:44:48 +00:00
Marcin Grzejszczak
33dd940fd7 RestTemplate: register Trace interceptor *first* in the chain; fixes #822 2018-01-20 17:48:32 +01:00
Marcin Grzejszczak
2bd669cb2c Should detach span from trace filter for async; fixes #728 2018-01-20 16:58:03 +01:00
buildmaster
9056db494b Bumping versions to 1.3.2.BUILD-SNAPSHOT after release 2018-01-16 14:52:36 +00:00
buildmaster
8dfe0a348d Going back to snapshots 2018-01-16 14:52:36 +00:00
buildmaster
339b42538a Update SNAPSHOT to 1.3.1.RELEASE 2018-01-16 14:49:56 +00:00
Marcin Grzejszczak
89176772bc Added a test for a pollable channel 2018-01-11 11:17:49 +01:00
Marcin Grzejszczak
c1f0951b7d Merge branch '1.2.x' into 1.3.x 2017-12-18 18:56:01 +01:00
Marcin Grzejszczak
09ab94b59d Fixed invalid reading from 'key' attribute of SpanTag; fixes #800 2017-12-18 18:54:47 +01:00