Skip to content

Zipkin GCP 2.0

Compare
Choose a tag to compare
@codefromthecrypt codefromthecrypt released this 09 Jan 23:45
· 42 commits to master since this release

Zipkin GCP 2.0 is a major upgrade using Brave 6 and Zipkin Reporter 3.1. Notably, this version allows applications traced with Brave to have no zipkin dependency.

Here are the new artifacts supporting this change:

  • zipkin-encoder-stackdriver: StackdriverEncoder.V2 encoder from before
    • Moved to the package zipkin2.reporter.stackdriver.zipkin
    • The new package and artifact were required to remove zipkin core dependencies from zipkin-sender-stackdriver.
  • brave-encoder-stackdriver: new StackdriverV2Encoder which has no zipkin core dependency

Most won't use StackdriverEncoder.V2 anymore, as it is more efficient to use zipkin-reporter-brave directly like so:

spanHandler = AsyncZipkinSpanHandler.newBuilder(sender).build(new StackdriverV2Encoder(Tags.ERROR));

Thanks for your patience and enjoy the cleaner dependency tree!

Full Changelog: https://github.com/openzipkin/zipkin-gcp/compare/1.1.1..2.0.0