Commit Graph

555 Commits

Author SHA1 Message Date
Marcin Grzejszczak
db0e3097d2 I've reused the algorithm from Zipkin CalculatingSampler#fixes #260* Changed the algo to counting one* Added comments* Made tests intolerant to errors* Fixed checkstyle
I've reused the algorithm from Zipkin CountingTraceIdSampler

fixes #260
2016-04-29 13:18:43 +02:00
Adrian Cole
8b725d3b0c Merge pull request #258 from spring-cloud/zipkin-0.14.0
Updates to zipkin 0.14
2016-04-28 19:50:23 +08:00
Adrian Cole
bdde2a6661 Updates to zipkin 0.14
No immediate impact to sleuth, but some notable changes underneath:

* zipkin.Sampler is now extensible to permit dynamic rate adjustments
* self-tracing can now be disabled even if Brave is in the classpath
  * related property: zipkin.self-tracing.enabled
  * brave-spancollector-scribe is no longer an optional dependency

In the world of plugins:

* Elasticsearch bugfix on traces w/ more than 10 spans
* New ZooKeeper adaptive collection-tier sampler
2016-04-27 22:08:09 +08:00
Marcin Grzejszczak
2d87fed521 Closing on error decoding
when an exception was thrown by Feign it was not caught by our Feign customizations and wasn't properly closed. By adding a custom implementation we're closing span whenever an exception is thrown.

Fixes #257
2016-04-27 12:22:51 +02:00
Dave Syer
24f65fd65f Tidy up SleuthRxJavaPlugins
It doesn't need to extend RxJavaPlugins, and this change makes the
deprecation less of a mess.
2016-04-25 11:13:56 +01:00
Marcin Grzejszczak
c9cdb7e4c3 Added missing conditionals 2016-04-22 11:35:35 +02:00
Marcin Grzejszczak
6cd3161599 Removing entries from MDC (#252)
when iterating over saved spans during span closing we can apply a function that should be executed on each iteration.

fixes #248
2016-04-21 17:06:42 +02:00
Adrian Cole
2ef278bed6 Merge pull request #254 from spring-cloud/zipkin-0.13
Updates to zipkin 0.13.0
2016-04-21 21:27:25 +08:00
Adrian Cole
e55b5e23b9 Updates to zipkin 0.13.0
Under the scenes, there are changes that allow Sampler to be dynamically
configured. Most importantly, there are some UI bug fixes that need to
go in.
2016-04-21 21:07:22 +08:00
Marcin Grzejszczak
8695990c0e Fixed a typo 2016-04-19 17:10:20 +02:00
Marcin Grzejszczak
791f3d97fb Fixed images 2016-04-19 17:07:16 +02:00
Marcin Grzejszczak
5fe72e6fa4 Fixed images 2016-04-19 16:52:44 +02:00
Marcin Grzejszczak
ecbcb2d335 Updated docs 2016-04-19 16:46:23 +02:00
Marcin Grzejszczak
cf742d90da Added some docs with examples 2016-04-19 16:42:40 +02:00
Marcin Grzejszczak
b047d7a9bc Added docs with an example of CompletableFuture usage - fixed executor service 2016-04-19 10:19:12 +02:00
Marcin Grzejszczak
2806747c6e Added docs with an example of CompletableFuture usage 2016-04-19 10:01:32 +02:00
Dave Syer
7dc30191cc Revert to snapshots 2016-04-18 15:11:14 +01:00
Dave Syer
7b40b9808e Update to RC2 2016-04-18 15:09:54 +01:00
Marcin Grzejszczak
8f8b9893f0 Easier Async configuration (#251)
added possibility to provide in an easy way custom client request factories

fixes #236
2016-04-15 12:03:01 +02:00
Adrian Cole
cf34acef63 Merge pull request #246 from spring-cloud/zipkin-0.12
Updates to Zipkin 0.12
2016-04-12 10:54:17 -04:00
Adrian Cole
37a079c174 Updates to Zipkin 0.12
Prevents crashes by making storage calls lazy
2016-04-12 09:26:47 -04:00
Adrian Cole
4eaa4f00df Merge pull request #249 from spring-cloud/issues_247_parent_not_stopped
Stopping parent before reporting
2016-04-12 09:20:40 -04:00
Marcin Grzejszczak
b5ba1c00db Stopping parent before reporting
The problem resulted in wrong span durations. The issue was such that for the case where span from request has a parent that needs to be reported we didn't stop that parent. That means that it has value of 'end' equal to 0. In that situation the duration of Span was calculated as a difference between current time and the start time. We should never report spans that have not been stopped - otherwise that stopping will take place a lot of time later.

fixes #247
2016-04-11 15:24:49 +02:00
Marcin Grzejszczak
d46f2ae30d Improved RxJava tests 2016-04-05 14:35:04 +02:00
Marcin Grzejszczak
b1a34d2892 Fixed the broken test 2016-04-05 09:37:51 +02:00
Marcin Grzejszczak
7de50918ee Trying to fix Travis - coming back to subscriptions on call 2016-04-04 20:04:51 +02:00
Marcin Grzejszczak
4e7e04c281 Trying to fix Travis - awaiting until event is emited 2016-04-04 19:41:20 +02:00
Marcin Grzejszczak
d20f5d4937 Trying to fix Travis - clearing traces 2016-04-04 18:37:24 +02:00
Marcin Grzejszczak
0a285ba06e Trying to fix Travis 2016-04-04 18:19:59 +02:00
Marcin Grzejszczak
e822f1df8a Fixed wrong RxJava link 2016-04-04 17:42:49 +02:00
Marcin Grzejszczak
743f1cc127 Updated RxJava docs 2016-04-04 17:41:53 +02:00
Shivang Shah
beafc3a5a7 Support rx java
RxJava Support

fixes #235
2016-04-04 16:40:45 +02:00
Marcin Grzejszczak
60cb5eb49c Removed docker compose
Removed docker compose and updated README

fixes #230
2016-04-04 14:40:22 +02:00
Adrian Cole
9f869b8b0b Merge pull request #244 from spring-cloud/zipkin-0.11.0
Updates to zipkin 0.11
2016-04-04 07:24:55 +08:00
Adrian Cole
eaa008f933 Updates to zipkin 0.11
The only notable change for Sleuth is an artifact id change from
spanstore to storage.
2016-04-03 21:04:55 +08:00
Marcin Grzejszczak
b3c78c139d Fixed closing of Zuul span, added local component span for zuul
fixes #242
2016-04-02 00:04:28 +02:00
Marcin Grzejszczak
441bd0834e Removed unnecessary qualifier from Zuul 2016-04-01 23:18:41 +02:00
Marcin Grzejszczak
4afe702e27 Making TraceAsyncRestTemplate public 2016-04-01 18:40:33 +02:00
Dave Syer
49112c3d6e Add zipkin-ui to dependencies 2016-04-01 14:06:13 +01:00
Dave Syer
72e1e6da0c Ensure span is cleaned up if Feign client throws a non retryable
The retryable case was already covered and tested but if the exception
is not retryable, we need to rethrow and clean up the thread state.

Fixes gh-240
2016-04-01 10:23:40 +01:00
Adrian Cole
eea96fbd3e Merge pull request #241 from spring-cloud/zipkin-0.10.4
Updates to zipkin 0.10.4
2016-03-31 21:11:50 +08:00
Dave Syer
00b67a87d5 Remove @Bean RestTemplate
(If users need one they can add it themselves)

Fixes gh-239
2016-03-31 13:31:34 +01:00
Dave Syer
84f4d3720c Add Feign sample that fails to close a span
See gh-240
2016-03-31 13:04:52 +01:00
Adrian Cole
8382a823e5 Updates to zipkin 0.10.4
This updates to the latest release. Beyond bug fixes, there are some
notable changes:

* storage: writes are now via AsyncSpanConsumer
* storage: added elasticsearch
* zipkin-ui: constrains start time to look for traces
* zipkin-ui: assets set cache headers, increasing responsiveness
* core: debug logging available for zipkin.internal.DependencyLinker
2016-03-31 19:31:45 +08:00
Marcin Grzejszczak
caba82c740 Merge pull request #238 from spring-cloud/fixing_dependencies_messaging
Messages don't log events even though they should
2016-03-31 13:12:29 +02:00
Marcin Grzejszczak
900b4758b7 Messages don't log events even though they should 2016-03-30 17:01:21 +02:00
Marcin Grzejszczak
9aba475ac9 Updated readme 2016-03-29 13:01:28 +02:00
Marcin Grzejszczak
f38f979d13 Fixed missing logs for untraced first request
fixes #231
2016-03-29 12:59:45 +02:00
Marcin Grzejszczak
5be6ebf671 Added test for tags 2016-03-29 10:46:32 +02:00
Marcin Grzejszczak
e1cbc374c1 Merge pull request #233 from spring-cloud/json-logs
Tightens Log to forbid null events and fixes Span json serialization
2016-03-28 21:11:24 +02:00