Re: [prometheus-users] Time Interval - Rules.yml -alert manager

2021-04-16 Thread Stuart Clark
What you are asking for is exactly what the "for" option does. It keeps periodically evaluating the expression and will only fire the alert if it constantly returns a result. You can set how often those checks happen, so for example if they were every minute "for: 5m" means 5 evaluations all ha

[prometheus-users] Time Interval - Rules.yml -alert manager

2021-04-16 Thread vamsi madhav
*My requirement is to check the expression three times before it send alert in slack or Email* *Current Config:* In the below config,* for:5m* will send an alert if the memory usage is over 80% . But I want to check the expression *vmware_vm_mem_usage_average / 100 >= 80 *in loop which means