Cachet: Averaging metric data points

Created on 31 Mar 2017  路  4Comments  路  Source: CachetHQ/Cachet

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!

screen shot 2017-03-30 at 10 00 39 am

screen shot 2017-03-30 at 10 00 56 am

Bug Metrics

Most helpful comment

We really need to look at metrics again at some point.

All 4 comments

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:

screenshot 2017-04-21 20 02 20

We really need to look at metrics again at some point.

+1 for this bug

This should be fixed.

Was this page helpful?
0 / 5 - 0 ratings

Related issues

meonkeys picture meonkeys  路  6Comments

brianjking picture brianjking  路  4Comments

BuckinghamIO picture BuckinghamIO  路  3Comments

gn-ley picture gn-ley  路  5Comments

jbrooksuk picture jbrooksuk  路  5Comments