Hi!,
I have a value that i receive every minute in influx and i need to generate an alert if that value doesn’t change in 18 minutes.
I have tried two querys and stateCountNode but it doesn’t work.
Is there a better way to do this in kapacitor?
Regards, and thank you very much.
Hello @diego.pena,
I’m not great with Kapacitor, but maybe you want to try stateDurationNode instead?
Hi!,
I have found a cleaner solution that works with stream, derivativeNode and countNode.
derivativeNode returns the difference of the current metric and the previous one, if this is 0 (does not change) and it is repeated x number of times, it triggers an alert.
Regards!
1 Like