Skip to content

Commit ac6c0a0

Browse files
committed
Whoop, make sure we update the rule name in the alers.
Signed-off-by: Tom Wilkie <tom@grafana.com>
1 parent 3766909 commit ac6c0a0

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

mysqld-mixin/alerts/galera.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -47,7 +47,7 @@ groups:
4747
description: Slave replication (IO or SQL) has been down for more than 2 minutes.
4848
summary: Slave replication is not running
4949
- alert: MySQLReplicationLag
50-
expr: (:mysql_slave_lag_seconds > 30) and on(instance) (predict_linear(:mysql_slave_lag_seconds[5m],
50+
expr: (instance:mysql_slave_lag_seconds > 30) and on(instance) (predict_linear(instance:mysql_slave_lag_seconds[5m],
5151
60 * 2) > 0)
5252
for: 1m
5353
labels:
@@ -56,7 +56,7 @@ groups:
5656
description: The mysql slave replication has fallen behind and is not recovering
5757
summary: MySQL slave replication is lagging
5858
- alert: MySQLReplicationLag
59-
expr: (:mysql_heartbeat_lag_seconds > 30) and on(instance) (predict_linear(:mysql_heartbeat_lag_seconds[5m],
59+
expr: (instance:mysql_heartbeat_lag_seconds > 30) and on(instance) (predict_linear(instance:mysql_heartbeat_lag_seconds[5m],
6060
60 * 2) > 0)
6161
for: 1m
6262
labels:

0 commit comments

Comments
 (0)