Skip to content

[sdk] Ability to add custom TextMapPropagators when using auto-configuration #910

Open
@NthPortal

Description

@NthPortal

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or requestmodule:sdkFeatures and improvements to the sdk module

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions