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 definingContextPropagatorsfor 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 ContextPropagatorsDefaultOpenTelemetry. propagatorsMethods in io.opentelemetry.api that return ContextPropagators Modifier and Type Method Description ContextPropagatorsDefaultOpenTelemetry. getPropagators()static ContextPropagatorsGlobalOpenTelemetry. getPropagators()Returns the globally registeredContextPropagatorsfor remote propagation of a context.ContextPropagatorsGlobalOpenTelemetry.ObfuscatedOpenTelemetry. getPropagators()ContextPropagatorsOpenTelemetry. getPropagators()Returns theContextPropagatorsfor thisOpenTelemetry.Methods in io.opentelemetry.api with parameters of type ContextPropagators Modifier and Type Method Description (package private) static OpenTelemetryDefaultOpenTelemetry. getPropagating(ContextPropagators propagators)static OpenTelemetryOpenTelemetry. propagating(ContextPropagators propagators)Returns anOpenTelemetrywhich will do remote propagation ofContextusing the providedContextPropagatorsand 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 ContextExtendedContextPropagators. 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.NoopSpanBuilderExtendedDefaultTracer.NoopSpanBuilder. setParentFrom(ContextPropagators propagators, java.util.Map<java.lang.String,java.lang.String> carrier)ExtendedSpanBuilderExtendedSpanBuilder. 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) classDefaultContextPropagatorsDefaultContextPropagatorsis the default, built-in implementation ofContextPropagators.Fields in io.opentelemetry.context.propagation declared as ContextPropagators Modifier and Type Field Description private static ContextPropagatorsDefaultContextPropagators. NOOPMethods in io.opentelemetry.context.propagation that return ContextPropagators Modifier and Type Method Description static ContextPropagatorsContextPropagators. create(TextMapPropagator textPropagator)Returns aContextPropagatorswhich can be used to extract and inject context in text payloads with the givenTextMapPropagator.static ContextPropagatorsContextPropagators. noop()Returns aContextPropagatorswhich performs no injection or extraction.(package private) static ContextPropagatorsDefaultContextPropagators. noop() -
Uses of ContextPropagators in io.opentelemetry.sdk
Fields in io.opentelemetry.sdk declared as ContextPropagators Modifier and Type Field Description private ContextPropagatorsOpenTelemetrySdk. propagatorsprivate ContextPropagatorsOpenTelemetrySdkBuilder. propagatorsMethods in io.opentelemetry.sdk that return ContextPropagators Modifier and Type Method Description ContextPropagatorsOpenTelemetrySdk. getPropagators()Methods in io.opentelemetry.sdk with parameters of type ContextPropagators Modifier and Type Method Description OpenTelemetrySdkBuilderOpenTelemetrySdkBuilder. setPropagators(ContextPropagators propagators)Sets theContextPropagatorsto 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 ContextPropagatorsPropagatorConfiguration. 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 ExtendedSpanBuilderSdkSpanBuilder. setParentFrom(ContextPropagators propagators, java.util.Map<java.lang.String,java.lang.String> carrier)
-