java.lang.Object
io.helidon.microprofile.tracing.TracerProducer

@ApplicationScoped public class TracerProducer extends Object
A producer of Tracer needed for injection into CDI beans.
  • Constructor Details Link icon

    • TracerProducer Link icon

      public TracerProducer()
  • Method Details Link icon

    • tracer Link icon

      @Produces @Dependent public Tracer tracer()
      Provides an instance of tracer currently configured.
      Returns:
      a Tracer from current Context, or GlobalTracer.get() in case we are not within a context.