Since upgrading to Grafana 11.5, I noticed that dashboard custom variables passed via URL parameters are not updating the data correctly when opening a link within the same tab. The URL updates with the correct variables, but the data on the dashboard does not refresh unless I manually reload the page (F5).
This was working correctly in Grafana 9.x, where clicking a data link with URL variables would update the dashboard and refresh the data accordingly.
I am using this because I have both a graph panel and a table panel in my dashboard. The table relies on the same variable that is passed via the URL, so I need the dashboard to update when the variable changes.
Steps to reproduce:
-
Create a Grafana dashboard with variables (e.g.,
var-status
,var-group
,var-template
). -
Use a data link in a graph panel with a URL like:
d/${__dashboard.uid}?var-status=${__data.fields.status}&var-group=${group}&var-template=${template}&${__url_time_range} -
Click on the link in the same tab.
4.The URL updates correctly, but the data does not refresh unless the page is manually reloaded (using DevTools, we can see that the queries sent to the Grafana backend are being canceled. This does not happens when I refresh the page).
Expected behavior:
- The dashboard should automatically update the data when the URL parameters change, as it did in previous versions.
Workaround:
-
Opening the link in a new tab works correctly.
-
Manually refreshing the page (F5) updates the data.
-
Grafana Version: 11.5.x