The average calculated for metric data points seems to only include actual points recorded via the api endpoint, and not 'default' values. So the graph shows my uptime as 100% all day except for 1 minute, but because I'm only sending metric values when the state changes from good to bad or from bad to good, the hourly and daily averages show exactly 0.5.
I'd like to avoid having to hit the api every minute, or ten minutes, or whatever when nothing has changed, if possible. Is there a way to:
1) include 'default' data points in the averages
and
2) have the default set to whatever the last recorded data point was, instead of a constant value, so then when it's 0 it stays 0 until it goes up again, and then stays at 100 until it crashes?
also,
3) is there a way to get monthly and yearly averages?
Thanks!


Hi @tcrall ,
Just a note about uptime.
I have seen uptime represented as number of days since last restart. For example here is how uptime is reported in FreeNAS server:

We really need to look at metrics again at some point.
+1 for this bug
This should be fixed.
Most helpful comment
We really need to look at metrics again at some point.