Skip to content

feat(config): generic plugin loading for propagators in declarative config #5070

@MikeGoldsmith

Description

@MikeGoldsmith

_propagator.py currently loads propagators by name via entry points under the opentelemetry_propagator group, but only for the composite_list (env-var style) path. The structured composite config path dispatches against a hardcoded list of known propagator types.

The OTel declarative config spec defines a PluginComponentProvider mechanism for plugin components, including propagators. Any unknown propagator name in the structured path should also be resolved via entry points, consistent with composite_list and with how other plugin components are loaded.

Related: #5053 (generic resource detector loading)

Metadata

Metadata

Assignees

No one assigned

    Labels

    configIssues and PRs related to implementing Declarative Config

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions