Interface ConfigurablePropagatorProvider
-
public interface ConfigurablePropagatorProviderA service provider interface (SPI) for providing additional propagators that can be used with the autoconfigured SDK. If theotel.propagatorsproperty 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 StringgetName()Returns the name of this propagator, which can be specified with theotel.propagatorsproperty to enable it.io.opentelemetry.context.propagation.TextMapPropagatorgetPropagator()Returns aTextMapPropagatorthat can be registered to OpenTelemetry by providing the property value specified bygetName().
-
-
-
Method Detail
-
getPropagator
io.opentelemetry.context.propagation.TextMapPropagator getPropagator()
Returns aTextMapPropagatorthat 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.propagatorsproperty to enable it. If the name is the same as any other defined propagator name, it is undefined which will be used.
-
-