Commit Graph

588 Commits

Author SHA1 Message Date
Spencer Gibb
feeb8bda0c Revert "Update SNAPSHOT to 1.0.0.RELEASE"
This reverts commit 4b347228a3.
2016-05-10 15:27:39 -06:00
Spencer Gibb
4b347228a3 Update SNAPSHOT to 1.0.0.RELEASE 2016-05-10 15:21:44 -06:00
Marcin Grzejszczak
9af0abc127 Polish 2016-05-10 09:08:15 +02:00
Marcin Grzejszczak
fc70842859 Polish 2016-05-10 09:05:37 +02:00
Marcin Grzejszczak
f7b1fc5fce Removing custom RxJavaPlugins reset impl.
With RxJava 1.1.4, `RxJavaPlugins.reset()` method has been made public (though `experimental`). With this update, we no longer require to manually wrapp and expose the `reset()` method of RxJavaPlugins. This PR is in conjunction with [Spring-Cloud-Netflix PR] (https://github.com/spring-cloud/spring-cloud-netflix/pull/1007) since RxJava version is maintained as a part of that dependency. Merge this PR only after the Spring-Cloud-Netflix PR is merged to avoid compile errors.
2016-05-09 18:09:56 +02:00
Marcin Grzejszczak
657bba35b3 Sampling child span
when parent is null, the created child span will be sampled

    fixes #271
2016-05-09 18:01:01 +02:00
Marcin Grzejszczak
8154bab922 Added docs on how to add Sleuth to the project 2016-05-09 17:30:00 +02:00
Marcin Grzejszczak
94ed8cfe4b Fixed tests with a workaround
had to add @EnableIntegration. Will remove it once https://github.com/spring-projects/spring-boot/issues/5901 is resolved
2016-05-09 17:28:58 +02:00
Adrian Cole
d5e3ad1b3d Merge pull request #270 from spring-cloud/zipkin-0.18
Updates to zipkin 0.18
2016-05-07 07:28:18 +08:00
Dave Syer
1f5cf02c06 Add explicit release disabled flag for artifactory for plugins 2016-05-06 18:09:41 +01:00
Dave Syer
3928d7769b Add explicit release disabled flag for artifactory in dependencies 2016-05-06 17:58:44 +01:00
Dave Syer
349cc2ad7e Add explicit release disabled flag for artifactory 2016-05-06 17:47:14 +01:00
Dave Syer
b06331e957 Switch parent of docs poms 2016-05-06 17:40:09 +01:00
Adrian Cole
7da63b9ade Updates to zipkin 0.18
Relating to sleuth, this is mostly cosmetic with a kafka condition fix.

It might be of interest that `GET /api/v1/traces` no longer requires
parameters.

https://github.com/openzipkin/zipkin-java/releases/tag/0.18.0
2016-05-07 00:17:16 +08:00
Dave Syer
2b4cc9db4e Update parent to 1.1.0.RELEASE 2016-05-06 17:13:33 +01:00
Dave Syer
47f74c7500 Ignore adhoc tests again 2016-05-06 15:21:31 +01:00
Dave Syer
9ce77ad22a Refactor some tests to work with Spring Boot 1.4 2016-05-06 15:16:14 +01:00
Adrian Cole
2e2c8b3e17 Merge pull request #267 from spring-cloud/zipkin-0.17.1
Updates to zipkin 0.17
2016-05-05 19:43:29 +08:00
Adrian Cole
2c33895f4a Updates to zipkin 0.17
Most notably includes the group id change
2016-05-05 17:56:44 +08:00
Marcin Grzejszczak
fd58cb4db7 Trying to trigger github hook 2016-05-04 19:33:18 +02:00
Marcin Grzejszczak
f15aaae2ec Trying to trigger github hook 2016-05-04 13:04:31 +02:00
Dave Syer
fe7271960d Compiler warnings 2016-05-04 11:32:03 +01:00
Dave Syer
010cfac064 More dependency sanitation 2016-05-04 11:30:20 +01:00
Dave Syer
c14f803363 Tidy up some dependencies
Removes wiremock as a test dependency in core (which created more
issues than you might expect because Tomcat and Jetty don't treay
HTTP headers in the same way apparently).

Also moves the spring-messaging dependency to where it is needed
in sleuth stream.
2016-05-04 11:23:03 +01:00
Marcin Grzejszczak
a724dd3efc Removed unnecessary colon 2016-05-04 11:17:45 +02:00
Adrian Cole
2450a0fd7e Merge pull request #264 from spring-cloud/zipkin-16
Updates to zipkin 0.16
2016-05-03 18:49:42 +08:00
Adrian Cole
d454641f79 Updates to zipkin 0.16
This important in so far that it allows us to do metrics. The actual
implementation of stream metrics is something we can work on after 1.0
if there's a time crunch.
2016-05-03 18:21:12 +08:00
Adrian Cole
4a439a1a21 Removes transient scala dep, accidentally pulled in by zipkin-ui 2016-04-30 10:11:58 +08:00
Adrian Cole
a5b92b817b Updates to zipkin 0.15 (#263)
Notably, this removes the accidental transient dependency on scala, by
removing the dependency on `zipkin-cassandra-core`. Related classes have
been vendored into `storage-cassandra`.

This also splits out `CollectorSampler` as its own thing and introduces
two options for instrumentation sampling:

* `BoundaryTraceIdSampler` - For high-volume sites, based on Finagle
* `CountingTraceIdSampler` - Trades lower performance for high accuracy
2016-04-29 18:22:23 +02:00
Marcin Grzejszczak
645845e88c Upgraded the percentage based sampler algorithm 2016-04-29 16:00:59 +02:00
Marcin Grzejszczak
7a70819feb Updated readme 2016-04-29 14:30:17 +02:00
Marcin Grzejszczak
6ef3e375f4 Updated Image link in the docs 2016-04-29 14:28:22 +02:00
Marcin Grzejszczak
80f51f76fe Draining from queue instead of clearing it (#262)
now instead of first passing all the spans from the queue to the list and then clearing it we're now draining it contents. If in the meantime any spans will arrive they will be rained at next passing

fixes #259
2016-04-29 13:52:11 +02:00
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