robusta-dev / krr

Prometheus-based Kubernetes Resource Recommendations
MIT License
3.05k stars 160 forks source link

fix: allow overriding mimir headers #330

Open davidspek opened 2 months ago

davidspek commented 2 months ago

When connecting to Mimir the X-Scope-OrgID: anonymous tenant header is automatically set. However, when using the --prometheus-headers flag to set a custom value for this it isn't propagated. This change ensures that headers set through the cli flags overwrite any additional_headers specified in the code.

CLAassistant commented 2 months ago

CLA assistant check
All committers have signed the CLA.