Netdata Community

Zscore on health alarm calc

Hi all, right now I have a typical alarm that notifies me when a threshold has been reached. Unfortunately it’s not very useful given how much the data fluctuates. I’d like to modify the alarm so that I evaluate the zscore.

Question:
What functions are available to the calc parameter? Looking at the docs it just mentions a range of expressions - but nothing like avg() or stddev() (for example).

I do see the zscore plugin - but I was hoping to do this within the alarm.

Hmm, I know we have stdev and CV which are almost a version of a zscore.

I wonder if we could actually use stddev and mean to derive the zscore as part of the alarm config.

Agree though that just having a zscore would be nice as is a more standard thing users would be familiar with.

So I wonder if something like ($this - mean) / stddev is possible