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

Sending org Id to analyse prometheus command is not supported #272

Open
sivadeepN opened this issue Mar 13, 2023 · 0 comments
Open

Sending org Id to analyse prometheus command is not supported #272

sivadeepN opened this issue Mar 13, 2023 · 0 comments

Comments

@sivadeepN
Copy link

We are using cortex-tools analyse prometheus to figure out high cardinality metrics. But the analyse prometheus command doesn't take an org-id as variable. Without it we get a 401 authorization error as ours is a multi tenant setup. analyse ruler takes an id and it works fine.
Is there someway to send id to the prometheus command as well? If not what else can we do to make it work.

Right now we added this req.Header.Set("X-Scope-OrgID", rt.username) on prom client library that is being used on our local and it works but it doesn't sound like a solution for us.

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

No branches or pull requests

1 participant