prom-label-proxy
prom-label-proxy copied to clipboard
Basic Auth for Upstream
I'm not sure if things will just work out of the box if I use the https://user:[email protected]
format for the upstream URL. If it does, it should get documented in the README because popular platforms like Grafana Cloud secure their Prometheus with this strategy. If this does not work, it's going to have to be explicitly added upstream, which I don't mind implementing with some direction from the maintainers.
I did a quick check and http://user:[email protected]
doesn't work (which looking at httputil.NewSingleHostReverseProxy
is logical). I think that your request makes sense.
Maybe users should be able to configure additional headers that would be injected in the incoming request?