@FunctionalInterface public interface TracerProvider
| Modifier and Type | Method and Description |
|---|---|
TracerBuilder<?> |
createBuilder()
Create a new builder for this tracer.
|
default Map<String,List<String>> |
updateOutboundHeaders(Span currentSpan,
Tracer tracer,
SpanContext parentSpan,
Map<String,List<String>> outboundHeaders,
Map<String,List<String>> inboundHeaders)
Update headers for outbound requests.
|
TracerBuilder<?> createBuilder()
default Map<String,List<String>> updateOutboundHeaders(Span currentSpan, Tracer tracer, SpanContext parentSpan, Map<String,List<String>> outboundHeaders, Map<String,List<String>> inboundHeaders)
Tracer.inject(SpanContext, Format, Object).
This is to enable fine grained tuning of propagated headers for each implementation.currentSpan - Current span covering the outbound calltracer - Tracer usedparentSpan - Parent span context (may be null)outboundHeaders - Tracing headers map as configured by the tracerinboundHeaders - Existing inbound headers (may be empty if not within a scope of a request)Copyright © 2018–2019 Oracle and/or its affiliates. All rights reserved. Use is subject to license terms.