Grafana - Adding Dashboard uid as a request header for tag-keys request


Actually , i wanted to add a request header for a given Dashboard (like the organization id request header ) that will be passed to every request , so i can filter my tags by dashboards.

Is there a way to pass the current dashboard uid as a Request Header?

P.S : I’m using Simple json Datasource and i need to filter tag-keys/dashboard

Thanks in advance.

I resolved this by setting request headers in Datasource provisioning file

Hi I was wondering if you could post your example datasource.yaml that you used to make this happen. I am having the same problem and I am lost