I think it would be helpful (admittedly JVM only) to have an SPI for adding custom TextMapPropagators which can then be configured using environment variables.
Proposed SPI:
trait TextMapPropagatorProvider {
def name: String
def instance: TextMapPropagator[Context]
}
I've also opened open-telemetry/opentelemetry-java#7079 with a request for the equivalent in the official Java library.
I am aware that the sdk auto-configuration builder already supports custom TextMapPropagators, but purely environment-based configuration could be nice too
I think it would be helpful (admittedly JVM only) to have an SPI for adding custom
TextMapPropagators which can then be configured using environment variables.Proposed SPI:
I've also opened open-telemetry/opentelemetry-java#7079 with a request for the equivalent in the official Java library.I am aware that the sdk auto-configuration builder already supports custom
TextMapPropagators, but purely environment-based configuration could be nice too