Class ZipkinTracer
java.lang.Object
io.helidon.tracing.providers.zipkin.ZipkinTracer
- All Implemented Interfaces:
Tracer
,Closeable
,AutoCloseable
The ZipkinTracer delegates to
BraveTracer
while creating ZipkinSpanBuilder
instead of BraveSpanBuilder
.
This class should not be sued directly, use either
TracerBuilder
or ZipkinTracerBuilder
.- See Also:
-
Nested Class Summary
Nested classes/interfaces inherited from interface io.opentracing.Tracer
Tracer.SpanBuilder
-
Constructor Summary
ConstructorDescriptionZipkinTracer
(brave.opentracing.BraveTracer tracer, List<Tag<?>> tags) Create a zipkin tracer from the delegate (BraveTracer) and tags to be used by default for all traces. -
Method Summary
Modifier and TypeMethodDescriptionactivateSpan
(Span span) void
close()
<C> SpanContext
<C> void
inject
(SpanContext spanContext, Format<C> format, C carrier)
-
Constructor Details
-
ZipkinTracer
Create a zipkin tracer from the delegate (BraveTracer) and tags to be used by default for all traces.- Parameters:
tracer
- tracer to wraptags
- list of tags to be automatically added to each span
-
-
Method Details
-
buildSpan
-
inject
-
extract
-
scopeManager
- Specified by:
scopeManager
in interfaceTracer
-
activeSpan
- Specified by:
activeSpan
in interfaceTracer
-
close
public void close() -
activateSpan
- Specified by:
activateSpan
in interfaceTracer
-