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

Tenant headers cannot be duplicated using Grafana datasources #191

Open
john-r-swyftx opened this issue Feb 20, 2024 · 0 comments
Open

Tenant headers cannot be duplicated using Grafana datasources #191

john-r-swyftx opened this issue Feb 20, 2024 · 0 comments

Comments

@john-r-swyftx
Copy link

john-r-swyftx commented Feb 20, 2024

The suggested way to provide multiple values using http headers is:

You can provide multiple values for the label using several HTTP headers:

➜  ~ curl -H 'X-Tenant=something' -H 'X-Tenant=anything' http://127.0.0.1:8080/api/v1/query\?query="up"
{"status":"success","data":{"resultType":"vector","result":[]}}%

Grafana datasources do not support more than one http header with the same name being set.
Screenshot 2024-02-20 at 4 01 52 pm

will just send one THANOS_TENANT header.

Grafana for Loki allows the format - A|B for its tenant headers. Can this be supported with prom-label-proxy?

Or is there a way around this I haven't seen yet? I am trying to query across 2 tenants

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