Add labels based on HTTP Headers similar to X-Scope-OrgId #8936
Unanswered
NilsEngelbach
asked this question in
Help and support
Replies: 1 comment
-
Hi, did you find a solution for this other then writing your own proxy similar to https://github.com/blind-oracle/cortex-tenant ? |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
I followed the documentation and deployed Mimir using an authenticating reverse proxy.
The authenticating proxy is adding the
X-Scope-OrgId
based on the claims provided in theaccess_token
form the client.The clients remote write config looks like this:
Is it possible to add additional labels based on other HTTP Headers ( e.g.
X-Scope-SysID
)?I know that it is possible to add additional labels on client side using
external_labels
but I want to add the labels on server side to make sure clients can not modify them.Beta Was this translation helpful? Give feedback.
All reactions