Class GlobalTracerInjector

  • All Implemented Interfaces:
    TracingHelper.Injector

    public class GlobalTracerInjector
    extends Object
    implements TracingHelper.Injector
    Uses the opentracing library to create a json string representation of the span context and provides a way to manipulate a static tracer without using the GlobalTracer registration
    • Constructor Detail

      • GlobalTracerInjector

        public GlobalTracerInjector()
    • Method Detail

      • getSpanContext

        protected static String getSpanContext​(io.opentracing.Tracer tracer)
      • getTracer

        public static io.opentracing.Tracer getTracer()
      • setTracer

        public static void setTracer​(io.opentracing.Tracer tracer)