promql-cli icon indicating copy to clipboard operation
promql-cli copied to clipboard

Specify arbitrary headers when calling prometheus

Open abohne opened this issue 2 years ago • 0 comments

In my environment, we've got prometheus fronted by a Cloudflare Access tunnel. I'd like to use promql in a script, but to do so, I would need to be able to pass a cf-access-token: XXX header. It would be useful to be able to specify whatever headers you want/need when calling prometheus.

abohne avatar Nov 14 '23 22:11 abohne