Skip to content

Allow external exporters in OTEL_TRACES_EXPORTER #1365

@jtmalinowski

Description

@jtmalinowski

Currently OpenTelemetry::SDK::Configurator#wrapped_exporters_from_env uses a hard-coded case-when list of exporters. I'm proposing that we make the list extendable.

A use case for the same easy configuration process (ENV-based) for vendors with their own exporters. For example setting OTEL_TRACES_EXPORTER=console,otlp-<vendor name> would enable both the console exporter and an instance of OTLP exporter configured to send data to the vendor.

This idea could be extended to metrics, but I'm not familiar with the current status of metrics.

This idea could be extended to propagators, but I don't currently see a good use case for this, as the list is quite complete. Core team can advise here.

I can submit the PR for this issue, if we agree an a solution.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions