public interface TracerRegistry
TracerWrapper
that was already registered.
If no @TracerWrapper
is registered, it will get @io.opentracing.noop.NoopTracer
from
GlobalTracer
Modifier and Type | Method and Description |
---|---|
io.opentracing.Tracer |
getTracer()
init(String) should be performed first otherwise it would return NoopTracer. |
void |
init(String serviceName)
Initialize tracer registry with servicename.
|
io.opentracing.Tracer getTracer()
init(String)
should be performed first otherwise it would return NoopTracer.void init(String serviceName)
serviceName
- Copyright © 2020. All rights reserved.