Uses of Interface
io.opentelemetry.context.propagation.ContextPropagators
-
Packages that use ContextPropagators Package Description io.opentelemetry.api The OpenTelemetry API.io.opentelemetry.api.incubator.propagation io.opentelemetry.api.incubator.trace io.opentelemetry.context.propagation Interfaces for definingContextPropagators
for allowing context propagation across process boundaries, for example when sending context to a remote server.io.opentelemetry.sdk The OpenTelemetry SDK.io.opentelemetry.sdk.autoconfigure io.opentelemetry.sdk.trace The OpenTelemetry SDK implementation of tracing. -
-
Uses of ContextPropagators in io.opentelemetry.api
Fields in io.opentelemetry.api declared as ContextPropagators Modifier and Type Field Description private ContextPropagators
DefaultOpenTelemetry. propagators
Methods in io.opentelemetry.api that return ContextPropagators Modifier and Type Method Description ContextPropagators
DefaultOpenTelemetry. getPropagators()
static ContextPropagators
GlobalOpenTelemetry. getPropagators()
Returns the globally registeredContextPropagators
for remote propagation of a context.ContextPropagators
GlobalOpenTelemetry.ObfuscatedOpenTelemetry. getPropagators()
ContextPropagators
OpenTelemetry. getPropagators()
Returns theContextPropagators
for thisOpenTelemetry
.Methods in io.opentelemetry.api with parameters of type ContextPropagators Modifier and Type Method Description (package private) static OpenTelemetry
DefaultOpenTelemetry. getPropagating(ContextPropagators propagators)
static OpenTelemetry
OpenTelemetry. propagating(ContextPropagators propagators)
Returns anOpenTelemetry
which will do remote propagation ofContext
using the providedContextPropagators
and is no-op otherwise.Constructors in io.opentelemetry.api with parameters of type ContextPropagators Constructor Description DefaultOpenTelemetry(ContextPropagators propagators)
-
Uses of ContextPropagators in io.opentelemetry.api.incubator.propagation
Methods in io.opentelemetry.api.incubator.propagation with parameters of type ContextPropagators Modifier and Type Method Description static Context
ExtendedContextPropagators. extractTextMapPropagationContext(java.util.Map<java.lang.String,java.lang.String> carrier, ContextPropagators propagators)
Extract the context from a string map, which you get from HTTP headers of the metadata of a message you're processing.static java.util.Map<java.lang.String,java.lang.String>
ExtendedContextPropagators. getTextMapPropagationContext(ContextPropagators propagators)
Injects the current context into a string map, which can then be added to HTTP headers or the metadata of a message. -
Uses of ContextPropagators in io.opentelemetry.api.incubator.trace
Methods in io.opentelemetry.api.incubator.trace with parameters of type ContextPropagators Modifier and Type Method Description ExtendedDefaultTracer.NoopSpanBuilder
ExtendedDefaultTracer.NoopSpanBuilder. setParentFrom(ContextPropagators propagators, java.util.Map<java.lang.String,java.lang.String> carrier)
ExtendedSpanBuilder
ExtendedSpanBuilder. setParentFrom(ContextPropagators propagators, java.util.Map<java.lang.String,java.lang.String> carrier)
Extract a span context from the given carrier and set it as parent of the span forExtendedSpanBuilder.startAndCall(SpanCallable)
andExtendedSpanBuilder.startAndRun(SpanRunnable)
. -
Uses of ContextPropagators in io.opentelemetry.context.propagation
Classes in io.opentelemetry.context.propagation that implement ContextPropagators Modifier and Type Class Description (package private) class
DefaultContextPropagators
DefaultContextPropagators
is the default, built-in implementation ofContextPropagators
.Fields in io.opentelemetry.context.propagation declared as ContextPropagators Modifier and Type Field Description private static ContextPropagators
DefaultContextPropagators. NOOP
Methods in io.opentelemetry.context.propagation that return ContextPropagators Modifier and Type Method Description static ContextPropagators
ContextPropagators. create(TextMapPropagator textPropagator)
Returns aContextPropagators
which can be used to extract and inject context in text payloads with the givenTextMapPropagator
.static ContextPropagators
ContextPropagators. noop()
Returns aContextPropagators
which performs no injection or extraction.(package private) static ContextPropagators
DefaultContextPropagators. noop()
-
Uses of ContextPropagators in io.opentelemetry.sdk
Fields in io.opentelemetry.sdk declared as ContextPropagators Modifier and Type Field Description private ContextPropagators
OpenTelemetrySdk. propagators
private ContextPropagators
OpenTelemetrySdkBuilder. propagators
Methods in io.opentelemetry.sdk that return ContextPropagators Modifier and Type Method Description ContextPropagators
OpenTelemetrySdk. getPropagators()
Methods in io.opentelemetry.sdk with parameters of type ContextPropagators Modifier and Type Method Description OpenTelemetrySdkBuilder
OpenTelemetrySdkBuilder. setPropagators(ContextPropagators propagators)
Sets theContextPropagators
to use.Constructors in io.opentelemetry.sdk with parameters of type ContextPropagators Constructor Description OpenTelemetrySdk(SdkTracerProvider tracerProvider, SdkMeterProvider meterProvider, SdkLoggerProvider loggerProvider, ContextPropagators propagators)
-
Uses of ContextPropagators in io.opentelemetry.sdk.autoconfigure
Methods in io.opentelemetry.sdk.autoconfigure that return ContextPropagators Modifier and Type Method Description (package private) static ContextPropagators
PropagatorConfiguration. configurePropagators(ConfigProperties config, SpiHelper spiHelper, java.util.function.BiFunction<? super TextMapPropagator,ConfigProperties,? extends TextMapPropagator> propagatorCustomizer)
-
Uses of ContextPropagators in io.opentelemetry.sdk.trace
Methods in io.opentelemetry.sdk.trace with parameters of type ContextPropagators Modifier and Type Method Description ExtendedSpanBuilder
SdkSpanBuilder. setParentFrom(ContextPropagators propagators, java.util.Map<java.lang.String,java.lang.String> carrier)
-