-
Notifications
You must be signed in to change notification settings - Fork 3.4k
Description
Component(s)
exporter/prometheusremotewrite
Is your feature request related to a problem? Please describe.
Currently, exporter headers in the OpenTelemetry Collector are static and cannot use dynamic or evaluated values. For example, if I want each remote write request to include a unique request-id header generated via UUID() or combined with other strings using Concat(), I have to hardcode the value or rely on external tooling.
Describe the solution you'd like
Use the existing OTTL (OpenTelemetry Transformation Language) ParseCondition method from opentelemetry-collector-contrib/pkg/ottl to enable dynamic evaluation of exporter header values.
Describe alternatives you've considered
No response
Additional context
Maybe under a feature flag for each header that enables ottl parsing and the default would be the current implementation as hardcoded values.
Tip
React with 👍 to help prioritize this issue. Please use comments to provide useful context, avoiding +1 or me too, to help us triage it. Learn more here.