Grafana version 8.0.3 , Influxdb, Linux
I know there has already been questions about that in the past and I tried to follow them, but cannot make it work!
My application records voltages and other measures every second.
The dashboard has a number of variables and panels to analyze those measures over time. All of that works great.
I am now adding a Stat panel to display the “current” measures (the latest one that is no more than a second old). It works when the dashboard uses relative time range, but when the user zooms on a time range or selects an absolute time range, the Stat panel shows the latest measure from that time range.
The Stat panel setup (new user: cannot insert > 2 screen shots):
Calculate / Last (non null) / Numeric Fields
The query options:
I have been trying a number of different values for 'Max datapoints", “Min interval” and “Relative time”, but I cannot get the panel to display the latest measure (which is a second old or less) when the user selected time range is not relative.
I also tried with a variable (query), but there is no option to have it update every second (only on dashboard load or change of time range).
Any hint to put me in the right direction would be greatly appreciated. Thank you.