Uses of Interface
io.opentelemetry.context.propagation.ContextPropagators
Packages that use ContextPropagators
Package
Description
The OpenTelemetry API.
Interfaces for defining
ContextPropagators for
allowing context propagation across process boundaries, for example when sending context to a
remote server.The OpenTelemetry SDK.
The OpenTelemetry SDK implementation of tracing.
-
Uses of ContextPropagators in io.opentelemetry.api
Fields in io.opentelemetry.api declared as ContextPropagatorsModifier and TypeFieldDescriptionprivate final ContextPropagatorsDefaultOpenTelemetry.propagatorsMethods in io.opentelemetry.api that return ContextPropagatorsModifier and TypeMethodDescriptionDefaultOpenTelemetry.getPropagators()static ContextPropagatorsGlobalOpenTelemetry.getPropagators()Returns the globally registeredContextPropagatorsfor remote propagation of a context.GlobalOpenTelemetry.ObfuscatedOpenTelemetry.getPropagators()OpenTelemetry.getPropagators()Returns theContextPropagatorsfor thisOpenTelemetry.Methods in io.opentelemetry.api with parameters of type ContextPropagatorsModifier and TypeMethodDescription(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 ContextPropagatorsModifierConstructorDescription(package private)DefaultOpenTelemetry(ContextPropagators propagators) -
Uses of ContextPropagators in io.opentelemetry.api.incubator.propagation
Methods in io.opentelemetry.api.incubator.propagation with parameters of type ContextPropagatorsModifier and TypeMethodDescriptionstatic ContextExtendedContextPropagators.extractTextMapPropagationContext(Map<String, 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.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 ContextPropagatorsModifier and TypeMethodDescriptionExtendedDefaultTracer.NoopSpanBuilder.setParentFrom(ContextPropagators propagators, Map<String, String> carrier) ExtendedSpanBuilder.setParentFrom(ContextPropagators propagators, Map<String, 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 ContextPropagatorsModifier and TypeClassDescription(package private) final classDefaultContextPropagatorsis the default, built-in implementation ofContextPropagators.Fields in io.opentelemetry.context.propagation declared as ContextPropagatorsModifier and TypeFieldDescriptionprivate static final ContextPropagatorsDefaultContextPropagators.NOOPMethods in io.opentelemetry.context.propagation that return ContextPropagatorsModifier and TypeMethodDescriptionstatic 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 ContextPropagatorsModifier and TypeFieldDescriptionprivate final ContextPropagatorsOpenTelemetrySdk.propagatorsprivate ContextPropagatorsOpenTelemetrySdkBuilder.propagatorsMethods in io.opentelemetry.sdk that return ContextPropagatorsMethods in io.opentelemetry.sdk with parameters of type ContextPropagatorsModifier and TypeMethodDescriptionOpenTelemetrySdkBuilder.setPropagators(ContextPropagators propagators) Sets theContextPropagatorsto use.Constructors in io.opentelemetry.sdk with parameters of type ContextPropagatorsModifierConstructorDescription(package private)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 ContextPropagatorsModifier and TypeMethodDescription(package private) static ContextPropagatorsPropagatorConfiguration.configurePropagators(ConfigProperties config, SpiHelper spiHelper, 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 ContextPropagatorsModifier and TypeMethodDescriptionSdkSpanBuilder.setParentFrom(ContextPropagators propagators, Map<String, String> carrier)