You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
We have Grafana set up behind google IAP and then a custom rule for the /api/annotations/ endpoint that allows us to circumvent IAP with a custom header for flux notifications. According to the flux documentation the NATS provider supports custom HTTP headers but that doesn't seem to be the case for Grafana.
I would like the grafana provider to work like this:
I tried looking through the code but I'm not well versed in go. To my eye it seems like headers are only added when there's a non empty username+password or token here. So I'm guessing some additions would need to be made for custom header support.
The text was updated successfully, but these errors were encountered:
We have Grafana set up behind google IAP and then a custom rule for the
/api/annotations/
endpoint that allows us to circumvent IAP with a custom header for flux notifications. According to the flux documentation the NATS provider supports custom HTTP headers but that doesn't seem to be the case for Grafana.I would like the grafana provider to work like this:
or alternatively like this:
I tried looking through the code but I'm not well versed in go. To my eye it seems like headers are only added when there's a non empty username+password or token here. So I'm guessing some additions would need to be made for custom header support.
The text was updated successfully, but these errors were encountered: