Commit Graph

1394 Commits

Author SHA1 Message Date
Marcin Grzejszczak
89176772bc Added a test for a pollable channel 2018-01-11 11:17:49 +01:00
Marcin Grzejszczak
2ac0b6187a SpanAdjuster is not adjusting an andjusted span
For ZipkinSpanReporter we're not applying the adjusting of a span to an adjusted span. In other words each subsequent adjuster is ignoring the results of the previous adjusting

fixes gh-816
2017-12-28 11:33:35 +01:00
Marcin Grzejszczak
297d21a7b5 Fixed missing annotations in the image; fixes #812 2017-12-27 09:20:12 +01:00
Marcin Grzejszczak
2fb50462af Merge branch '1.2.x' into 1.3.x 2017-12-21 11:35:28 +01:00
Marcin Grzejszczak
b5c38aa20a Added GitHub templates
Signed-off-by: Marcin Grzejszczak <mgrzejszczak@pivotal.io>
2017-12-21 11:35:13 +01:00
Marcin Grzejszczak
594c284e69 Added missing configuration property for zipkin sender type
fixes #810
2017-12-19 16:27:12 +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
Marcin Grzejszczak
22616f6f17 Updated docs 2017-12-18 17:01:01 +01:00
Marcin Grzejszczak
3252578879 Merge branch '1.2.x' into 1.3.x 2017-12-18 16:52:09 +01:00
Marcin Grzejszczak
4e8be65dd5 Updated the docs with default sleuth spans channel name; fixes #803 2017-12-18 16:51:55 +01:00
Adrian Cole
a1b97002c6 Moves to significantly more performant zipkin-reporter (#808)
Under load, the previous version of zipkin-reporter's AsyncReporter
caused a lot of overhead. This version fixes that by ensuring encoding
is deferred and not done inside a lock.
2017-12-14 10:09:04 +08:00
Marcin Grzejszczak
8a190ddabc Fixed flickering test (due to starting 0 in the traceid) 2017-12-03 09:34:01 -05:00
Marcin Grzejszczak
d010229ca3 Added whitelisted branch 2017-11-28 19:00:58 +01:00
buildmaster
fc767e972e Bumping versions to 1.3.1.BUILD-SNAPSHOT after release 2017-11-22 14:42:35 +00:00
buildmaster
eb5abec075 Going back to snapshots 2017-11-22 14:42:34 +00:00
buildmaster
69f40d8606 Update SNAPSHOT to 1.3.0.RELEASE 2017-11-22 14:36:16 +00:00
Marcin Grzejszczak
00435634a0 Fixed broken docs 2017-11-22 15:32:25 +01:00
Adrian Cole
54fa7faba4 Bumps to zipkin 2.3.1 2017-11-22 21:17:50 +08:00
Marcin Grzejszczak
4520268303 Made tests less brittle 2017-11-22 10:30:01 +01:00
Marcin Grzejszczak
82cff6e9e9 Merge branch '1.2.x' 2017-11-22 10:17:39 +01:00
Marcin Grzejszczak
2d53a38c14 Wrapping the feign object in a different way 2017-11-22 10:07:40 +01:00
Marcin Grzejszczak
183ea3b8cf Revert "Updates to zipkin version fixing encoding bug"
This reverts commit dfc5ae5
2017-11-21 19:37:07 +01:00
Marcin Grzejszczak
31ebbf5ccb Fixed wrong versions 2017-11-21 19:26:58 +01:00
Marcin Grzejszczak
b4ecb6f957 Ensure we're not tracing the traced feign clients
fixes #791
2017-11-21 19:22:44 +01:00
Adrian Cole
dfc5ae57bb Updates to zipkin version fixing encoding bug 2017-11-21 19:22:43 +01:00
Marcin Grzejszczak
8e9fa7125c Ensure we're not tracing the traced feign clients
fixes #791
2017-11-21 19:07:06 +01:00
Marcin Grzejszczak
b60ff42fc8 Made ZIpkin 2 default
fixes #785
2017-11-20 23:06:13 +01:00
Marcin Grzejszczak
2ecd77d151 Fighting flakey tests 2017-11-17 12:02:05 +01:00
Marcin Grzejszczak
85517c6670 Increased timeouts 2017-11-15 17:40:36 +01:00
Marcin Grzejszczak
1ab3870d43 Modified a test to present better output 2017-11-15 17:18:00 +01:00
Marcin Grzejszczak
ab2ccf2562 Updated docs 2017-11-15 15:36:30 +01:00
Marcin Grzejszczak
08b5d04133 Removed @EnableAsync from configuration; fixes #780 2017-11-14 18:03:03 +01:00
Marcin Grzejszczak
e2c11b592c Added RestTemplateBuilder support
fixes #777
2017-11-14 14:57:27 +01:00
Marcin Grzejszczak
360f7ed187 Removed type target from New/ContinueSpan; fixes #772 2017-11-14 11:32:25 +01:00
Adrian Cole
92e434e261 Updates to zipkin version fixing encoding bug 2017-11-10 15:49:38 +08:00
Adrian Cole
c72bb22cf9 Updates to zipkin version fixing encoding bug 2017-11-10 15:21:21 +08:00
Marcin Grzejszczak
4203566d87 Exceptions that escape SpringMVC DispatcherServlet should be logged with trace & span IDs
without this change any exception that is not caught by a filter, get caught and logged by server's internals (e.g. Tomcat's Valve). To make the Valve log the exception together with the tracing information we would have to allow the tracing context remain in the thread after TraceFilter gets executed. That is problematic cause we're polluting the ThreadLocal and would have to assume that some component will eventually clear the context.

with this change we're trying to solve the issue from a different angle. Whenever an uncaught exception is thrown, we are already catching it in the `catch(...) {}` clause. It's enough to just log it at the error level and that way, regardless of the underlying server implementation (Tomcat, Undertow) we will log the uncaught exception and rethrow it.

fixes #714
2017-11-03 22:41:50 +01:00
Marcin Grzejszczak
f1a6a7f687 Merge branch '1.2.x' 2017-11-02 05:55:53 +01:00
Marcin Grzejszczak
b96ca210c3 Fixed invalid starter name; fixes #769 2017-11-01 14:26:03 +01:00
Marcin Grzejszczak
dadb46731e Sleuth no longer corrupts Error Message Channel Headers (#765)
fixes #761
2017-11-01 14:21:41 +01:00
Adrian Cole
bfe15ab0cd Misaligns Zipkin v1 from sharing the same version number as v2 (#760)
This does two things: ensures samples don't use Zipkin v1 in any way,
and misaligns the version numbers of zipkin v1 and zipkin v2 apis.

This is an attempt to walk around the gradle plugin issue, which only
exists when someone is using both versions of zipkin.

See https://github.com/spring-projects/spring-boot/issues/10778
2017-10-27 17:29:45 +03:00
Marcin Grzejszczak
08093b0a6e Bumped libs 2017-10-24 19:18:53 +02:00
Marcin Grzejszczak
b800462381 Updated docs 2017-10-24 10:56:26 +02:00
buildmaster
30d3379347 Going back to snapshots 2017-10-24 08:48:01 +00:00
buildmaster
8950751782 Update SNAPSHOT to 1.3.0.RC1 2017-10-24 08:46:31 +00:00
Marcin Grzejszczak
c4241413a0 Merge branch '1.2.x' 2017-10-23 20:40:33 +02:00
Marcin Grzejszczak
3c2c43adff Fixed the invalid closing of spans; fixes #759 2017-10-23 19:39:08 +02:00
Adrian Cole
808572d78e Deprecates all span transports except spring-cloud-sleuth-zipkin2 (#758)
This deprecates span transports in favor of `spring-cloud-sleuth-zipkin2`
which:
* Supports RabbitMQ and Kafka automatically when adding spring-rabbit or spring-kafka deps
* Supports any io.zipkin.reporter2:zipkin-reporter sender, including Amazon X-Ray
* Defaults to zipkin v2 format, but can be configured to use zipkin v1 format as needed

This lowers the amount of maintenance on the project, as discussed in various issues

See #727
See #711
2017-10-22 19:29:22 +03:00
Adrian Cole
bf6c54330c Removes explicit zipkin2 exclusions 2017-10-20 16:40:01 +03:00