Dashboard is frozen - no recent changes

When I opened my laptop, I happened to have a tab open with my Grafana dashboard that had been there a few days. On another tab, I copied over one panel at a time to see what the problem was. Sure enough, I have 2 stat panels that both cause the page to freeze immediately. Both are a time series. I was able to grab the json for the entire dashboard from my tab that hadn’t been refreshed. If I omit the two stat panels causing issues, I can import the whole dashboard as a new dashboard and all works great.

I did a quick test with a new stat panel. The query is:

SELECT
created AS "time",
field2
FROM table_name
WHERE
$__timeFilter(created)

If field2 returns a null value (or maybe it is if all the values are null?), it immediately freezes.

So this does sound like this may be the same bug @fe1lann mentioned.

I did notice however, if the above query does not return a null value for field2, the stat panel shows No Data. I know the query should return rows. I have the stat panel calculation set to Count. Not sure if there is an issue with the $__timeFilter() or if something changed with the latest version? Maybe it’s all related to the same bug?

1 Like