Interface ConfigurablePropagatorProvider
public interface ConfigurablePropagatorProvider
A service provider interface (SPI) for providing additional propagators that can be used with the
autoconfigured SDK. If the
otel.propagators
property contains a value equal to what is
returned by getName()
, the propagator returned by getPropagator(ConfigProperties)
will be enabled and available as part of OpenTelemetry.getPropagators()
.-
Method Summary
Modifier and TypeMethodDescriptiongetName()
Returns the name of this propagator, which can be specified with theotel.propagators
property to enable it.io.opentelemetry.context.propagation.TextMapPropagator
getPropagator
(ConfigProperties config) Returns aTextMapPropagator
that can be registered to OpenTelemetry by providing the property value specified bygetName()
.
-
Method Details
-
getPropagator
Returns aTextMapPropagator
that can be registered to OpenTelemetry by providing the property value specified bygetName()
. -
getName
String getName()Returns the name of this propagator, which can be specified with theotel.propagators
property to enable it. If the name is the same as any other defined propagator name, it is undefined which will be used.
-