I upgraded our Grafana environment this morning, and at first, I thought everything was great.
But then we found this bug. All of our dashboards using table panels with datalinks on fields within rows of the table broke.
Visually, you could tell something was wrong because the underscore that indicated there was a link was missing. However, you could still click on the field, and the new browser tab with the drill down dashboard would open up.
However, this is were the worse bug occurred. The data that appears in the new dashboard didn’t match the data the was clicked on. It was for a different set of criteria belonging to another row.
After some debugging, I discovered that the problem has to do with panel level sorting and filtering. If I did all the sorting in the query (in this case, Flux against InfluxDB), the data link contains data from the matching row. However, if you clicked on the table header to resort the dashboard, the rows in the panel would reorder, but the URL’s associated with that data still contained values related to the row that was in that position before the sort. Also, if you turned on filtering and filtered, the same problem occurred. If you filtered to only one row in the table, the data in the URL still matched whatever data was present in the first row of the data before the filter.
This all worked fine in 7.3.1.
I tried creating a new dashboard with a new panel to see if the bug was related to upgrading from a 7.3.1 version of the table panel to a 7.5.3 version. But that didn’t help. The problem still occurred with a brand new panel.
I’m wondering if this has something to do with the dashboard caching I read was introduced with 7.5. Is there a setting somewhere to turn that off? I want t see if that solves my problem.
Has this already been reported? Anyone got a work around? Googling didn’t turn up any hits.