Kapacitor - Alert only after X secs above threshold

I defined my tasks to alert when threshold exceeded (for example cpu_usage > 90%) but most of the time those alerts are not interesting because those are only spikes occurs during deployment or similar.

How can I use Kapacitor to alert only if the threshold exceeded for specified time ?
for example to alert on cpu_usage of above 80% for 1 minute… and so on …

Thanks :slight_smile:

Hi, did you find a solution to this problem? I’m working on a similar issue, and would like to know as well.