Hi,
Currently we have this below expression to monitor mySQL Slave lag and sending us alerts if the lag is 10 minutes behind master.
last(Template DB Percona MySQL Server/MySQL.slave.lag)>600
Everything is working as expected. However, we want to update the expression to fire a trigger if the lag is behind the master for 10 minutes and lasting for 30 minutes. In other words, we don't the trigger to fire right away as soon as the lag is greater than 10 minutes.
Could anyone provide suggestion and recommendation if any better function should we use?
Thanks,
Ariya
Currently we have this below expression to monitor mySQL Slave lag and sending us alerts if the lag is 10 minutes behind master.
last(Template DB Percona MySQL Server/MySQL.slave.lag)>600
Everything is working as expected. However, we want to update the expression to fire a trigger if the lag is behind the master for 10 minutes and lasting for 30 minutes. In other words, we don't the trigger to fire right away as soon as the lag is greater than 10 minutes.
Could anyone provide suggestion and recommendation if any better function should we use?
Thanks,
Ariya
Comment