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.ScopeactivateSpan(io.opentracing.Span span)io.opentracing.Tracer.SpanBuilderbuildSpan(String operationName)io.opentracing.Tracerdelegate()<C> voidinject(io.opentracing.SpanContext context, io.opentracing.propagation.Format<C> format, C carrier)io.opentracing.ScopeManagerscopeManager()ProxyTracerwith(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:
delegatein 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:
injectin interfaceForwardingTracer- Specified by:
injectin interfaceio.opentracing.Tracer
-
buildSpan
public io.opentracing.Tracer.SpanBuilder buildSpan(String operationName)
- Specified by:
buildSpanin interfaceForwardingTracer- Specified by:
buildSpanin interfaceio.opentracing.Tracer
-
scopeManager
public io.opentracing.ScopeManager scopeManager()
- Specified by:
scopeManagerin interfaceForwardingTracer- Specified by:
scopeManagerin interfaceio.opentracing.Tracer
-
activateSpan
public io.opentracing.Scope activateSpan(@Nullable io.opentracing.Span span)- Specified by:
activateSpanin interfaceForwardingTracer- Specified by:
activateSpanin interfaceio.opentracing.Tracer
-
-