Commit Graph

158 Commits

Author SHA1 Message Date
Marcin Grzejszczak
5df50bf4ea Increased timeout for Zipkin Server start 2016-12-27 10:52:27 +01:00
Marcin Grzejszczak
1b832b6029 Spans are continued in Handler Interceptors (#474)
without this change an explicit new span is created on the server side. Its name is equal to the method name of the controller. It introduces some nice advantages in terms of readability of trace.

with this change we're continuing a previous span on the server side. We're attaching the tags and logs to that span with information about controller class and controller name. Also events related to start and finish of the controller are there.

fixes #471 #469 #427
2016-12-16 13:51:37 +01:00
Dave Syer
a0adcecba0 Update to Spring Boot 1.5 2016-12-12 12:52:21 +00:00
Adrian Cole
eb98de3cc4 Updates to latest Zipkin 1.16.2 (#454)
Here are the features relevant to sleuth

* MySQL support of 128-bit group-by
* don't stack overflow on json write bug
* more forgiving of IPv4-mapped addresses in json
2016-11-18 16:41:00 +08:00
Marcin Grzejszczak
96df523557 Added baggage support (#440)
without this change there is no support for context propagation
with this change whenever you pass the `baggage-...` for http or `baggage_` for messaging headers then such a value will be propagated through your system

fixes #237
2016-11-10 15:36:47 +01:00
Adrian Cole
840d30dd33 Fixes MessagingApplicationTests 2016-11-07 07:29:31 -08:00
Adrian Cole
84b066970a Updates to zipkin 1.14.4 (#441)
* Support for MySQL 5.7 with SQL_MODE=ONLY_FULL_GROUP_BY
* Includes support to store 128-bit trace ID (not yet implemented here)

See https://github.com/openzipkin/b3-propagation/issues/6
2016-11-06 19:38:46 +08:00
Marcin Grzejszczak
69521f37f0 Updated version to 1.2.0 2016-11-02 13:58:40 +01:00
Adrian Cole
b2df9844db Updates to latest Zipkin and avoids Endpoint factory method (#417)
Now that Endpoint has ipv6, the factory method is even worse than it
was before. This switches to a builder instead.

Note: Endpoint now has a nice toString which should help debugging.
2016-10-06 19:05:20 +08:00
Adrian Cole
91e506ce35 Reroutes HttpZipkinSpanReporter to use zipkin.reporter.AsyncReporter (#407)
AsyncReporter is a more robust version of what we were doing before.
Notably, it can give a memory threshold instead of span count for the
backlog. This change ports to use AsyncReporter internally.

See https://github.com/openzipkin/zipkin-reporter-java#asyncreporter
2016-09-15 21:03:28 +08:00
Adrian Cole
6c8cfd527c Updates to Zipkin 1.8.4 (#392)
Luckily, someone reported a bug where if unprintable characters were in
the json, the UI would hose. This version fixes that.
2016-09-06 11:52:47 +08:00
Adrian Cole
20d2144305 Fixes edge-case encoding bug (#391)
Sleuth doesn't create I64 binary annotations, but others might. This
version of zipkin fixes an encoding bug when someone logs a binary
annotation of type I64.
2016-09-05 16:32:24 +08:00
Adrian Cole
8a616d129a Updates to zipkin 1.8 (#389)
includes much faster json encoding and UI fixes
2016-09-01 22:37:16 +08:00
Adrian Cole
ddf9bcb677 Updates to Zipkin 1.7 (#379)
Notably includes CORS config and version in the /info endpoint.

https://github.com/openzipkin/zipkin/releases/tag/1.7.0
2016-08-25 18:56:55 +08:00
Adrian Cole
1db875bc01 Updates to Zipkin 1.6 (which is Spring Boot 1.4) (#361)
This updates to Zipkin 1.6, which targets Spring Boot 1.4

Zipkin 1.6 also corrects default values around the UI, which should lead
to better search performance.
2016-08-01 13:11:12 -07:00
Adrian Cole
c6bd6f9926 Updates to Zipkin 1.5 (#353)
This is particularly important for the mysql backend, as the bundled
schema now allows dependency aggregation.

See https://github.com/openzipkin/zipkin/releases/tag/1.5.0
2016-07-28 10:03:18 -07:00
Marcin Grzejszczak
e28ddc0e72 Migrated to new SpringBootTest
fixes #328
2016-07-19 23:35:30 +02:00
Marcin Grzejszczak
f199321878 Added circle.ci integration
- also limited to 5 seconds awaits
2016-07-11 15:14:21 +02:00
Adrian Cole
a7aca7562a Updates to Zipkin 1.3 and rounds up Span duration to one when < 1μ (#326)
Duration of 0 is confusing to plot and can be misinterpreted as null.

See https://github.com/openzipkin/zipkin/issues/1174
See https://github.com/openzipkin/zipkin/releases/tag/1.3.0
2016-07-10 12:08:36 +08:00
Marcin Grzejszczak
98c99db209 Fixed integration tests to use ZipkinRule
Introduce assertj assertions (#315)

    * Introduce assertJ assertions in some tests
    * Fix code formatting to be inline with Spring rules
2016-06-27 15:47:16 +02:00
Marcin Grzejszczak
7ea2859583 Merge branch '1.0.x' 2016-06-23 14:45:43 +02:00
Marcin Grzejszczak
872afe453b Merge pull request #311 from spring-cloud/renaming_child_server_span
Renaming child server span
2016-06-23 14:44:29 +02:00
Marcin Grzejszczak
05e221ef54 HTTP filter child span renamed
with this change the child span of the HTTP filter span gets changed into a span coming from the Controller aspect. The name of the span becomes the name of the method.
2016-06-23 13:24:16 +02:00
Adrian Cole
f92a84ed1c Updates to zipkin 1.1.5 (#309)
Changes since 1.1.1 related to cassandra or json parsing.

See https://github.com/openzipkin/zipkin/releases/tag/1.1.5
2016-06-23 17:58:19 +08:00
Marcin Grzejszczak
34cf968bff Randomized port for Zipkin tests 2016-06-23 11:26:41 +02:00
Marcin Grzejszczak
a9c1d89668 Made evaluation of Tracer bean more lazy
with this change Feign components resolve tracer and other beans from beanfactory when necessary

fixes #307
2016-06-22 16:38:53 +02:00
Marcin Grzejszczak
72714118d5 Made evaluation of Tracer bean more lazy
with this change Feign components resolve tracer and other beans from beanfactory when necessary

fixes #307
2016-06-21 23:54:53 +02:00
Marcin Grzejszczak
1f58be4079 Randomized port for Zipkin tests 2016-06-17 10:22:32 +02:00
Dave Syer
fea2397501 Update to 1.0.2 snapshots 2016-06-10 17:10:35 +01:00
Marcin Grzejszczak
6456709020 Update to SNAPSHOT 2016-06-10 15:56:21 +02:00
Marcin Grzejszczak
8f726cb514 Update SNAPSHOT to 1.0.1.RELEASE 2016-06-10 15:38:37 +02:00
Adrian Cole
117a31b31f Updates to zipkin 1.1.1
Zipkin 1.1.1 includes a few changes relevant to sleuth:
* Adds JSON button to trace detail screen
* Presents server errors in UI
* Fixes misclassification of http span metrics (1.1.1)

https://github.com/openzipkin/zipkin-java/releases/tag/1.1.0
2016-06-02 10:07:47 +08:00
Marcin Grzejszczak
358d0b16b5 Issues #286 custom feign config (#289)
After this change a custom FeignContext is created that before returning instance  or instances of beans will wrap, if necessary, that bean into a tracing representation. That way all the custom Feign configurations will have wrapped beans and tracing will get propagated.

Fixes #286
2016-05-25 18:12:06 +02:00
Adrian Cole
51960876de Moves to zipkin 1.0.0 2016-05-25 10:52:46 -04:00
Adrian Cole
b8b1ff05ac Moves to zipkin 0.21
This moves to changes made in preparation of zipkin 1.0.

Here are the notables:

* Zipkin has autoconfiguration modules, where maven artifacts have the prefix 'zipkin-autoconfigure-X'
* Zipkin's ui now shares a version with everything else

* Zipkin now namespaces packages and configuration. ex zipkin.storage.X as opposed to zipkin.X
* All autoconfiguration classes are prefixed `Zipkin` to be easier to find

* Zipkin binds components like StorageComponent, as opposed to individual classes like SpanStore.
* Health checks are under the scope "zipkin" and broken down by component

* UI responsiveness is better by conditionally caching names queries for 5 minutes
* New `Collector` class, which makes logging and metrics patterns the same regardless of transport
2016-05-23 11:21:53 -04:00
Marcin Grzejszczak
f8ed14bd5b Revert "Fixed tests with a workaround"
This reverts commit 94ed8cfe4b.
2016-05-12 10:10:49 +02:00
Dave Syer
fc29838b86 Update to 1.0.1 snapshots 2016-05-11 09:21:54 +01:00
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
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
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
Adrian Cole
2c33895f4a Updates to zipkin 0.17
Most notably includes the group id change
2016-05-05 17:56:44 +08: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
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
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
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
Dave Syer
7dc30191cc Revert to snapshots 2016-04-18 15:11:14 +01:00