As I’m diving into Kapacitor more and more, I’m trying to refine my checks and alerts. One thing I’d like to check if you if a value meets a criteria (e.g. Exceeds a value, within s range) for a duration. This will help me exclude flapping and better get an idea if a metric has spiked for an extended period.
Currently im doing this by using timeShift a few times and comparing, but it’s messy and I’m sure there must be a better way. Is there a nice easy way to do this?
One example would be
cpu usage > 90% for 1 minute, or even better, using one of the queries chronograf generated for me (️)
cpu usage is 50% higher than the last 10 minute period, for at least 5 minutes.