Skip to content

opentracing-contrib/java-spring-tracer-configuration

Repository files navigation

Build Status Released Version

OpenTracing Spring Tracer Configuration

This repository provides a tracer auto-configuration for Spring Boot. The auto-configuration does following:

  1. Returns tracer from GlobalTracer.
  2. Resolves tracer from tracerresolver.
  3. If not tracer has been found it returns NoopTracer.
  4. Registers tracer to GlobalTracer - if it has not been registered.

This auto-configuration is usually configured to run if no tracer bean has been provided (e.g. Jaeger/Zipkin starter).

Development

Maven checkstyle plugin is used to maintain consistent code style based on Google Style Guides

./mvnw clean install

Release

Follow instructions in RELEASE

License

Apache 2.0 License.