A producer of
Tracer
needed for injection into
CDI
beans.
-
Constructor Summary
Constructors
-
Method Summary
Provides an instance of tracer currently configured.
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Constructor Details
-
TracerProducer
public TracerProducer()
-
Method Details
-
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.