-
Notifications
You must be signed in to change notification settings - Fork 2.9k
Description
Component(s)
No response
Is your feature request related to a problem? Please describe.
We are pushing traces to Tempo via opentelemetry collector.
when we push trace to multitenant Tempo we need to handle X-Scope-OrgID header using Headers Setter extension.
in current version if user do not specify X-Scope-OrgID this extension automatically use "" as value.(Default value is hardcoded)
and sometimes we want to use specific tenant to store user's trace with no X-Scope-OrgID
problem is we cannot configure default value when specified key is missing.
(https://github.com/open-telemetry/opentelemetry-collector-contrib/blob/main/extension/headerssetterextension/internal/source/context.go#L24)
Describe the solution you'd like
Make default value configurable for Headers Setter extension's context functionality.
we will create PR for this.
Describe alternatives you've considered
No response
Additional context
No response