This repo is a work-in-progress for adding Zipkin support to Ratpack.
Uses Brave for the underlying Zipkin support.
The mimimal configuration:
RatpackServer.start(server -> server
.serverConfig(config -> config.port(serverPort))
.registry(Guice.registry(binding -> binding
.module(ServerTracingModule.class, config -> config.serviceName("some-service-name")
.bind(HelloWorldHandler.class)
))(
.handlers(chain -> chain
...)
);
This should add a HandlerDecorator
that adds server send (SS) and server receive (SS) tracing using the default settings.