Alert rules¶
This page contains a markdown version of the alert rules described in the mysql-operator
repository.
See the source of truth on GitHub for the latest information, or an older version:
MySQL General Alerts¶
Alert |
Severity |
Notes |
---|---|---|
MySQLDown |
MySQL instance is down. |
|
MySQLMetricsScrapeError |
MySQL Exporter encountered a metrics scrape error. |
|
MySQLTooManyConnections(>90%) |
MySQL instance is using > 90% of |
|
MySQLHighThreadsRunning |
MySQL instance is actively using > 80% of |
|
MySQLHighPreparedStatementsUtilization(>80%) |
MySQL instance is using > 80% of |
|
MySQLSlowQueries |
MySQL instance has slow queries. |
|
MySQLInnoDBLogWaits |
MySQL instance has long InnoDB log waits. |
|
MySQLRestarted |
MySQL instance restarted. |
|
MySQLConnectionErrors |
MySQL instance has connection errors. |
MySQL Replication Alerts¶
Alert |
Severity |
Notes |
---|---|---|
MySQLClusterUnitOffline |
MySQL cluster member is marked offline. |
|
MySQLClusterNoPrimary |
No primary in the cluster. |
|
MySQLClusterTooManyPrimaries |
More than one primary detected. |
|
MySQLNoReplication |
No secondary members in the cluster. |
|
MySQLGroupReplicationReduced |
The number of ONLINE members in the replication group has reduced compared to the maximum observed in the last 6 hours. |
|
MySQLGroupReplicationConflicts |
Conflicts detected in Group Replication. |
|
MySQLGroupReplicationQueueSizeHigh |
High number of transactions in Group Replication queue (>100). |