Interface ConfigurablePropagatorProvider
-
public interface ConfigurablePropagatorProvider
A service provider interface (SPI) for providing additional propagators that can be used with the autoconfigured SDK. If theotel.propagators
property contains a value equal to what is returned bygetName()
, the propagator returned bygetPropagator()
will be enabled and available as part ofOpenTelemetry.getPropagators()
.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description String
getName()
Returns the name of this propagator, which can be specified with theotel.propagators
property to enable it.io.opentelemetry.context.propagation.TextMapPropagator
getPropagator()
Returns aTextMapPropagator
that can be registered to OpenTelemetry by providing the property value specified bygetName()
.
-
-
-
Method Detail
-
getPropagator
io.opentelemetry.context.propagation.TextMapPropagator 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.
-
-