Sending Traces to Zipkin
Using the CLI If you create your project using the Micronaut CLI, supply the
|
To send tracing spans to Zipkin, the minimal configuration requires the following dependencies in your build:
Adding Zipkin Dependencies
runtime 'io.zipkin.brave:brave-instrumentation-http'
runtime 'io.zipkin.reporter2:zipkin-reporter'
compile 'io.opentracing.brave:brave-opentracing'
Then enable ZipKin tracing in your configuration (potentially only your production configuration):
application.yml
tracing:
zipkin:
enabled: true