I am using Kapacitor for alerting whenever a certain value becomes 0 using the 
lambda as below,

alert()
    .crit(lambda: "watchingValue"==0)

Is there a way, i can write the above lambda, such that an alert is triggered 
when the watchingValue is 0 consecutively for 3 times.

something like below,

alert()
       .crit(lambda: count("watchingValue"==0)>3)

-- 
Remember to include the InfluxDB version number with all issue reports
--- 
You received this message because you are subscribed to the Google Groups 
"InfluxDB" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
Visit this group at https://groups.google.com/group/influxdb.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/influxdb/6596d7bd-a4c6-4c5f-a867-fcba2b0aa6c2%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to