open-telemetry / opentelemetry-go-contrib

Collection of extensions for OpenTelemetry-Go.
https://opentelemetry.io/
Apache License 2.0
1.21k stars 563 forks source link

autoexport: Accept a comma-separated list to enable setting multiple exporters #4471

Open pellared opened 1 year ago

pellared commented 1 year ago

From https://github.com/open-telemetry/opentelemetry-specification/blob/563958cb2bd8529990f19fdce7a5f3643bf63091/specification/configuration/sdk-environment-variables.md?plain=1#L222:

The SDK MAY accept a comma-separated list to enable setting multiple exporters.

This would be useful, but doesn't really fit with how the package is currently designed.

Originally posted by @dashpole in https://github.com/open-telemetry/opentelemetry-go-contrib/issues/4229#issuecomment-1773198423

thomasgouveia commented 4 months ago

@pellared, it's something I can work on. Could you assign it to me? I'll make a proposal here to get feedback before proceeding with the implementation.