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 Type
    Method
    Description
    Returns the name of this propagator, which can be specified with the otel.propagators property to enable it.
    io.opentelemetry.context.propagation.TextMapPropagator
    Returns a TextMapPropagator that can be registered to OpenTelemetry by providing the property value specified by getName().
  • Method Details

    • getPropagator

      io.opentelemetry.context.propagation.TextMapPropagator getPropagator(ConfigProperties config)
      Returns a TextMapPropagator that can be registered to OpenTelemetry by providing the property value specified by getName().
    • getName

      String getName()
      Returns the name of this propagator, which can be specified with the otel.propagators property to enable it. If the name is the same as any other defined propagator name, it is undefined which will be used.