Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How to pass custom headers in grafana data source?

I tried to find how to pass custom header in grafana data source. There is no option to set custom header in grafana data source. I wanted to set grafana data source as prometheus and set some custom header. Is there any way to do that other than editing grafana.ini file?

like image 512
dkakoti Avatar asked Sep 05 '25 02:09

dkakoti


1 Answers

On the new versions of Grafana, you are able to pass custom headers to the data source.

On this site https://grafana.com/docs/grafana/latest/administration/provisioning

lookup for Custom HTTP headers for data sources

like image 69
Daniel Cristian Avatar answered Sep 08 '25 21:09

Daniel Cristian