Uses of Interface
io.opentelemetry.context.propagation.TextMapPropagator
-
Packages that use TextMapPropagator Package Description io.opentelemetry.api.baggage.propagation Default OpenTelemetry remote baggage propagators.io.opentelemetry.api.incubator.propagation io.opentelemetry.api.trace.propagation Default OpenTelemetry remote trace propagators.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.autoconfigure io.opentelemetry.sdk.autoconfigure.spi Java SPI (Service Provider Interface) for implementing extensions to SDK autoconfiguration. -
-
Uses of TextMapPropagator in io.opentelemetry.api.baggage.propagation
Classes in io.opentelemetry.api.baggage.propagation that implement TextMapPropagator Modifier and Type Class Description class
W3CBaggagePropagator
TextMapPropagator
that implements the W3C specification for baggage header propagation. -
Uses of TextMapPropagator in io.opentelemetry.api.incubator.propagation
Classes in io.opentelemetry.api.incubator.propagation that implement TextMapPropagator Modifier and Type Class Description class
PassThroughPropagator
ATextMapPropagator
which can be configured with a set of fields, which will be extracted and stored inContext
.Methods in io.opentelemetry.api.incubator.propagation that return TextMapPropagator Modifier and Type Method Description static TextMapPropagator
PassThroughPropagator. create(java.lang.Iterable<java.lang.String> fields)
Returns aTextMapPropagator
which will propagate the givenfields
from extraction to injection.static TextMapPropagator
PassThroughPropagator. create(java.lang.String... fields)
Returns aTextMapPropagator
which will propagate the givenfields
from extraction to injection. -
Uses of TextMapPropagator in io.opentelemetry.api.trace.propagation
Classes in io.opentelemetry.api.trace.propagation that implement TextMapPropagator Modifier and Type Class Description class
W3CTraceContextPropagator
Implementation of the W3C TraceContext propagation protocol. -
Uses of TextMapPropagator in io.opentelemetry.context.propagation
Classes in io.opentelemetry.context.propagation that implement TextMapPropagator Modifier and Type Class Description (package private) class
MultiTextMapPropagator
(package private) class
NoopTextMapPropagator
Fields in io.opentelemetry.context.propagation declared as TextMapPropagator Modifier and Type Field Description private TextMapPropagator
DefaultContextPropagators. textMapPropagator
private TextMapPropagator[]
MultiTextMapPropagator. textMapPropagators
Methods in io.opentelemetry.context.propagation that return TextMapPropagator Modifier and Type Method Description static TextMapPropagator
TextMapPropagator. composite(TextMapPropagator... propagators)
Returns aTextMapPropagator
which simply delegates injection and extraction to the provided propagators.static TextMapPropagator
TextMapPropagator. composite(java.lang.Iterable<TextMapPropagator> propagators)
Returns aTextMapPropagator
which simply delegates injection and extraction to the provided propagators.(package private) static TextMapPropagator
NoopTextMapPropagator. getInstance()
TextMapPropagator
ContextPropagators. getTextMapPropagator()
Returns aTextMapPropagator
propagator.TextMapPropagator
DefaultContextPropagators. getTextMapPropagator()
static TextMapPropagator
TextMapPropagator. noop()
Returns aTextMapPropagator
which does no injection or extraction.Methods in io.opentelemetry.context.propagation with parameters of type TextMapPropagator Modifier and Type Method Description static TextMapPropagator
TextMapPropagator. composite(TextMapPropagator... propagators)
Returns aTextMapPropagator
which simply delegates injection and extraction to the provided propagators.static ContextPropagators
ContextPropagators. create(TextMapPropagator textPropagator)
Returns aContextPropagators
which can be used to extract and inject context in text payloads with the givenTextMapPropagator
.private static java.util.List<java.lang.String>
MultiTextMapPropagator. getAllFields(TextMapPropagator[] textPropagators)
Method parameters in io.opentelemetry.context.propagation with type arguments of type TextMapPropagator Modifier and Type Method Description static TextMapPropagator
TextMapPropagator. composite(java.lang.Iterable<TextMapPropagator> propagators)
Returns aTextMapPropagator
which simply delegates injection and extraction to the provided propagators.Constructors in io.opentelemetry.context.propagation with parameters of type TextMapPropagator Constructor Description DefaultContextPropagators(TextMapPropagator textMapPropagator)
MultiTextMapPropagator(TextMapPropagator... textMapPropagators)
Constructor parameters in io.opentelemetry.context.propagation with type arguments of type TextMapPropagator Constructor Description MultiTextMapPropagator(java.util.List<TextMapPropagator> textMapPropagators)
-
Uses of TextMapPropagator in io.opentelemetry.sdk.autoconfigure
Fields in io.opentelemetry.sdk.autoconfigure with type parameters of type TextMapPropagator Modifier and Type Field Description private java.util.function.BiFunction<? super TextMapPropagator,ConfigProperties,? extends TextMapPropagator>
AutoConfiguredOpenTelemetrySdkBuilder. propagatorCustomizer
private java.util.function.BiFunction<? super TextMapPropagator,ConfigProperties,? extends TextMapPropagator>
AutoConfiguredOpenTelemetrySdkBuilder. propagatorCustomizer
Methods in io.opentelemetry.sdk.autoconfigure that return TextMapPropagator Modifier and Type Method Description private static TextMapPropagator
PropagatorConfiguration. getPropagator(java.lang.String name, NamedSpiManager<TextMapPropagator> spiPropagatorsManager)
Method parameters in io.opentelemetry.sdk.autoconfigure with type arguments of type TextMapPropagator Modifier and Type Method Description AutoConfiguredOpenTelemetrySdkBuilder
AutoConfiguredOpenTelemetrySdkBuilder. addPropagatorCustomizer(java.util.function.BiFunction<? super TextMapPropagator,ConfigProperties,? extends TextMapPropagator> propagatorCustomizer)
Adds aBiFunction
to invoke with the default autoconfiguredTextMapPropagator
to allow customization.AutoConfiguredOpenTelemetrySdkBuilder
AutoConfiguredOpenTelemetrySdkBuilder. addPropagatorCustomizer(java.util.function.BiFunction<? super TextMapPropagator,ConfigProperties,? extends TextMapPropagator> propagatorCustomizer)
Adds aBiFunction
to invoke with the default autoconfiguredTextMapPropagator
to allow customization.(package private) static ContextPropagators
PropagatorConfiguration. configurePropagators(ConfigProperties config, SpiHelper spiHelper, java.util.function.BiFunction<? super TextMapPropagator,ConfigProperties,? extends TextMapPropagator> propagatorCustomizer)
(package private) static ContextPropagators
PropagatorConfiguration. configurePropagators(ConfigProperties config, SpiHelper spiHelper, java.util.function.BiFunction<? super TextMapPropagator,ConfigProperties,? extends TextMapPropagator> propagatorCustomizer)
private static TextMapPropagator
PropagatorConfiguration. getPropagator(java.lang.String name, NamedSpiManager<TextMapPropagator> spiPropagatorsManager)
-
Uses of TextMapPropagator in io.opentelemetry.sdk.autoconfigure.spi
Methods in io.opentelemetry.sdk.autoconfigure.spi that return TextMapPropagator Modifier and Type Method Description TextMapPropagator
ConfigurablePropagatorProvider. getPropagator(ConfigProperties config)
Returns aTextMapPropagator
that can be registered to OpenTelemetry by providing the property value specified byConfigurablePropagatorProvider.getName()
.Method parameters in io.opentelemetry.sdk.autoconfigure.spi with type arguments of type TextMapPropagator Modifier and Type Method Description AutoConfigurationCustomizer
AutoConfigurationCustomizer. addPropagatorCustomizer(java.util.function.BiFunction<? super TextMapPropagator,ConfigProperties,? extends TextMapPropagator> propagatorCustomizer)
Adds aBiFunction
to invoke with the default autoconfiguredTextMapPropagator
to allow customization.AutoConfigurationCustomizer
AutoConfigurationCustomizer. addPropagatorCustomizer(java.util.function.BiFunction<? super TextMapPropagator,ConfigProperties,? extends TextMapPropagator> propagatorCustomizer)
Adds aBiFunction
to invoke with the default autoconfiguredTextMapPropagator
to allow customization.
-