Skip to content
This repository has been archived by the owner on Jan 3, 2019. It is now read-only.

Releases: hyleung/ratpack-zipkin

v2.3.1

24 Feb 04:04
Compare
Choose a tag to compare

This release includes:

  • Upgrade to Brave 4.16.1
  • Reworks server tracing to support route-based span names using standard HttpServerParser (#58)
  • Adds current trace context support #57
  • Fix for propagation handling #56

...plus some refactoring and integration tests.

v2.3.0

04 Jan 03:52
Compare
Choose a tag to compare

This release introduces a couple of small changes in behaviour as a result of implementing Brave's ITHttpServer test suite (#54):

  • HttpServerAdapter.getUrl implementation now returns the full URL of the request (instead of just the path portion of the Url)
  • HttpServerAdapter should now return the correct remote client address (instead of null)

Other changes, which shouldn't have any impact:

  • refactors tracing handler to use Brave's HttpServerParser (#52)
  • bumps Brave dependency to 4.12 (#53)

v2.2.0

18 Nov 23:07
Compare
Choose a tag to compare

This release adds support for Zipkin v2 (#40).

.module(ServerTracingModule.class, config -> {
        config
            .serviceName("ratpack-demo")
            .spanReporterV2(reporter);
    })

Support for the v1 reporter has been deprecated and will be removed in a future release.

Also bumps Brave dependency to 4.9.2.

v2.1.0

28 Oct 02:56
Compare
Choose a tag to compare

This release adds support for customizing span names (issues #26 and #39). A span name customizer function can be configured as follows:

config.spanNameProvider((request,pathBindingOpt) -> pathBindingOpt
          .map(pathBinding -> pathBinding.getDescription())
          .orElse(request.getPath())) )

Also included in this release is a fix for a bug that was resulting in "double execution" of the RequestSpec action on HTTP client requests (#46).

v2.0.2

15 Oct 18:44
Compare
Choose a tag to compare

Release for #45 (Make Guice components singletons)

v2.0.1

16 Sep 03:48
Compare
Choose a tag to compare

Small release that adds the trace id to MDC via #41 (using the key, "TraceId").

v2.0.0

01 Jun 03:13
Compare
Choose a tag to compare

This library has now been updated to use Brave 4 - including a fair bit of rework to make use of new Brave APIs.

It is not a backward-compatible with v1, but for the most part should support everything that version 1 supported in some way.

Features:

  • Server span tracing (SR/SS)
  • Client span tracing (CS/CR)
  • Nested spans (via Brave's APIs)
  • ParallelBatch support

v1.2.1

24 Apr 02:48
Compare
Choose a tag to compare

This will be most likely be the last 1.x release. Work has started on 2.x, which will include the upgrade to Brave 4.

Enhancements:

  • If ratpack.server.ServerConfig#getAddress is null, set brave host/local endpoint to first site-local java.net.NetworkInterface#getNetworkInterfaces instead of loopback (#21)

v1.2.0

17 Mar 14:43
Compare
Choose a tag to compare

Enhancements:

  • Add support for streamed responses in ZipkinHttpClient (#12)
  • Add @Zipkinannotation for injecting Zipkin-instrumented HttpClient (#15)
  • Use standard annotation keys, changes to default annotations (#18)

Fixes:

  • ZipkinHttpClient incorrectly sending annotations on POST (#13)
  • Fix for NPE in client response adapter (#18)

Thanks, @jeff-blaisdell, @edwardsoo-ss, and @llinder for doing all the real work on this release. 😄

v1.1.0

25 Feb 19:55
Compare
Choose a tag to compare

v1.1.0

Enhancements:

Fixes: