I have a very basic metric “if CPU > 75% than send alert to email”. But problem that I receive a lot of spam in case if this load happens during 10-15 minutes.
How to prevent it and send second message for example only after 5 minutes in case if this load still exist?
Ah yeah, i missed it. I normally hae it further up in the node. My bad. One thing i did notice, you’re using hostname in your whereFilter. your groupBy() looks empty. Try adding the hostname tag to your group by