NaN in singlestat


Im using a singlestat panel (prometheus data), and I want to see if the current value is NaN.
As I see on the singlestat docs, it will not show the last, but the last not null:

"current - The last value in the series. If the series ends on null the previous value will be used."

Is there any way to show it (with “NaN” or any value mapping)?


This is not correct, it will show null value (NA) if the last 2 metrics are null. It only takes the next to last value if the last value is null to work around issues with the last value is very commonly null due to not having been reported yet.