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
X-Dashboard-Uid and X-Panel-Id are HTTP headers set by Grafana frontend and forward to datasource (See grafana/grafana#60301). They are useful information for datasources to troubleshoot slow dashboards and panels. Projects such as Thanos and Cortex logs these 2 headers to debug slow queries.
If promxy is used as Grafana datasource, it doesn't propagate X-Dashboard-Uid and X-Panel-Id by default. Users have to configure proxy-headers to add these HTTP headers.
Given the wide adoption of Grafana, I propose that we always propagate X-Dashboard-Uid and X-Panel-Id in Promxy so that it can work out of the box without any configuration.
The text was updated successfully, but these errors were encountered:
I think there is already a feature to propagate those headers. It is the proxy headers config which allows users to proxy some headers based on name.
For what you mentioned, the existing http headers config are something different IIUC.
The purpose of this issue is to always propagate those Grafana headers to avoid manual configuration of proxy headers field as Grafana is commonly adopted.
In general I'm opposed to having additional features to avoid people writing configs. If this is a common default option IMO we should add it to the example config files -- instead of adding another feature to forcibly add it all the time.
X-Dashboard-Uid
andX-Panel-Id
are HTTP headers set by Grafana frontend and forward to datasource (See grafana/grafana#60301). They are useful information for datasources to troubleshoot slow dashboards and panels. Projects such as Thanos and Cortex logs these 2 headers to debug slow queries.If promxy is used as Grafana datasource, it doesn't propagate
X-Dashboard-Uid
andX-Panel-Id
by default. Users have to configureproxy-headers
to add these HTTP headers.Given the wide adoption of Grafana, I propose that we always propagate
X-Dashboard-Uid
andX-Panel-Id
in Promxy so that it can work out of the box without any configuration.The text was updated successfully, but these errors were encountered: