Is there any way to get the count of thresholds triggered and comes back to ok. state in any given time.
Hi @Amit_Kumar_Singh. You can retrieve this information through Kapacitor using a TICK script. The relevant documentation can be found here, under “Available Statistics”: https://docs.influxdata.com/kapacitor/v1.5/nodes/alert_node/#alert-event-data
It looks like the statistics you would need are
Hope this helps.