Class ProxyTracer
- java.lang.Object
-
- org.zalando.opentracing.proxy.core.ProxyTracer
-
- All Implemented Interfaces:
io.opentracing.Tracer
,Closeable
,AutoCloseable
,ForwardingTracer
@API(status=EXPERIMENTAL) public final class ProxyTracer extends Object implements ForwardingTracer
-
-
Constructor Summary
Constructors Constructor Description ProxyTracer(io.opentracing.Tracer tracer)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description io.opentracing.Scope
activateSpan(io.opentracing.Span span)
io.opentracing.Tracer.SpanBuilder
buildSpan(String operationName)
io.opentracing.Tracer
delegate()
<C> void
inject(io.opentracing.SpanContext context, io.opentracing.propagation.Format<C> format, C carrier)
io.opentracing.ScopeManager
scopeManager()
ProxyTracer
with(Plugin plugin)
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface org.zalando.opentracing.proxy.base.ForwardingTracer
activeSpan, close, extract
-
-
-
-
Method Detail
-
delegate
public io.opentracing.Tracer delegate()
- Specified by:
delegate
in interfaceForwardingTracer
-
with
public ProxyTracer with(Plugin plugin)
-
inject
public <C> void inject(io.opentracing.SpanContext context, io.opentracing.propagation.Format<C> format, C carrier)
- Specified by:
inject
in interfaceForwardingTracer
- Specified by:
inject
in interfaceio.opentracing.Tracer
-
buildSpan
public io.opentracing.Tracer.SpanBuilder buildSpan(String operationName)
- Specified by:
buildSpan
in interfaceForwardingTracer
- Specified by:
buildSpan
in interfaceio.opentracing.Tracer
-
scopeManager
public io.opentracing.ScopeManager scopeManager()
- Specified by:
scopeManager
in interfaceForwardingTracer
- Specified by:
scopeManager
in interfaceio.opentracing.Tracer
-
activateSpan
public io.opentracing.Scope activateSpan(@Nullable io.opentracing.Span span)
- Specified by:
activateSpan
in interfaceForwardingTracer
- Specified by:
activateSpan
in interfaceio.opentracing.Tracer
-
-