Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix: allow overriding mimir headers #330

Merged
merged 1 commit into from
Feb 7, 2025
Merged

Conversation

davidspek
Copy link
Contributor

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
Copy link

CLAassistant commented Aug 29, 2024

CLA assistant check
All committers have signed the CLA.

Copy link

@chris-parker-za chris-parker-za left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Implemented this change and tested against our production instance as we ran into this issue as well. The fix works as expected.

@chris-parker-za
Copy link

When can we expect this fix to be merged? Currently this is blocking mimir instances that don't use anonymous from working at all.

Copy link
Contributor

@aantn aantn left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM. Thank you!

@aantn aantn merged commit 1aff41c into robusta-dev:main Feb 7, 2025
1 check passed
@aantn
Copy link
Contributor

aantn commented Feb 7, 2025

@chris-parker-za thank you for bumping this. Its merged and will be included in the next release.

@chris-parker-za
Copy link

Happy to help! Glad it's approved finally.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants