Class ZipkinTracerProvider
java.lang.Object
io.helidon.tracing.providers.zipkin.ZipkinTracerProvider
- All Implemented Interfaces:
OpenTracingProvider
Zipkin java service.
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionCreate a new builder for this tracer.void
updateOutboundHeaders
(Tracer tracer, SpanContext currentSpan, HeaderProvider inboundHeaders, HeaderConsumer outboundHeaders) Update headers for outbound requests.
-
Constructor Details
-
ZipkinTracerProvider
public ZipkinTracerProvider()Public constructor for service loading.
-
-
Method Details
-
createBuilder
Description copied from interface:OpenTracingProvider
Create a new builder for this tracer.- Specified by:
createBuilder
in interfaceOpenTracingProvider
- Returns:
- a tracer builder
-
updateOutboundHeaders
public void updateOutboundHeaders(Tracer tracer, SpanContext currentSpan, HeaderProvider inboundHeaders, HeaderConsumer outboundHeaders) Description copied from interface:OpenTracingProvider
Update headers for outbound requests. The outboundHeaders already contain injected from tracer viaTracer.inject(io.opentracing.SpanContext, io.opentracing.propagation.Format, Object)
. This is to enable fine grained tuning of propagated headers for each implementation.- Specified by:
updateOutboundHeaders
in interfaceOpenTracingProvider
- Parameters:
tracer
- Tracer usedcurrentSpan
- Context of current spaninboundHeaders
- Existing inbound headers (may be empty if not within a scope of a request)outboundHeaders
- Tracing headers map as configured by the tracer
-