Class ZipkinTracerProvider
java.lang.Object
io.helidon.tracing.providers.zipkin.ZipkinTracerProvider
- All Implemented Interfaces:
OpenTracingProvider
Zipkin java service.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionCreate a new builder for this tracer.voidupdateOutboundHeaders(Tracer tracer, SpanContext currentSpan, HeaderProvider inboundHeaders, HeaderConsumer outboundHeaders) Update headers for outbound requests.
-
Constructor Details
-
ZipkinTracerProvider
public ZipkinTracerProvider()
-
-
Method Details
-
createBuilder
Description copied from interface:OpenTracingProviderCreate a new builder for this tracer.- Specified by:
createBuilderin interfaceOpenTracingProvider- Returns:
- a tracer builder
-
updateOutboundHeaders
public void updateOutboundHeaders(Tracer tracer, SpanContext currentSpan, HeaderProvider inboundHeaders, HeaderConsumer outboundHeaders) Description copied from interface:OpenTracingProviderUpdate 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:
updateOutboundHeadersin 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
-