-
Notifications
You must be signed in to change notification settings - Fork 67
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
Allow to set the same header multiple time in Prometheus Datascources #829
Labels
enhancement
New feature or request
Comments
See #830 |
sathieu
added a commit
to sathieu/grafana-plugin-sdk-go
that referenced
this issue
Dec 5, 2023
sathieu
added a commit
to sathieu/grafana-plugin-sdk-go
that referenced
this issue
Dec 5, 2023
sathieu
added a commit
to sathieu/grafana-plugin-sdk-go
that referenced
this issue
Dec 11, 2023
sathieu
added a commit
to sathieu/grafana-plugin-sdk-go
that referenced
this issue
Dec 11, 2023
sathieu
added a commit
to sathieu/grafana-plugin-sdk-go
that referenced
this issue
Dec 14, 2023
3 tasks
sathieu
added a commit
to sathieu/grafana-plugin-sdk-go
that referenced
this issue
Dec 18, 2023
marefr
moved this from 🧑💻 In development
to 🔬 In review
in Plugins Platform / Grafana Community
Mar 6, 2024
marefr
moved this from 🧑💻 In development
to 🔬 In review
in Plugins Platform / Grafana Community
Mar 6, 2024
sathieu
added a commit
to sathieu/grafana-plugin-sdk-go
that referenced
this issue
Mar 8, 2024
sathieu
added a commit
to sathieu/grafana-plugin-sdk-go
that referenced
this issue
Mar 11, 2024
3 tasks
andresmgot
pushed a commit
that referenced
this issue
Mar 12, 2024
github-project-automation
bot
moved this from 🔬 In review
to 🚀 Shipped
in Plugins Platform / Grafana Community
Mar 12, 2024
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
What would you like to be added:
We use prom-label-proxy to setup some multi-tenant Prometheus. Launched with:
We have a tenant which needs access to 2 namespaces
ns1
andns2
.This can be done by setting the header twice:
But this doesn't work when set from UI:
Why is this needed:
See above
Code references:
We need to change
.Set
to.Add
in:grafana-plugin-sdk-go/backend/httpclient/custom_headers_middleware.go
Lines 20 to 22 in fdcf6a0
But
opts.Headers
type should be changed to. A new middleware is probably needed.The text was updated successfully, but these errors were encountered: