Alert rules¶
This page contains a markdown version of the alert rules described in the postgresql-k8s-operator
repository. The following file(s) are the source of truth:
This documentation describes the latest alert rule expressions. See the YAML file(s) listed above if you require an older version.
PostgresqlExporterK8s¶
Alert |
Severity |
Notes |
---|---|---|
PostgresqlDown |
PostgresSQL instance is down. |
|
PostgresqlRestarted |
PostgresSQL instance has restarted. |
|
PostgresqlExporterError |
PostgresSQL instance is showing an exporter error. |
|
PostgresqlTableNotAutoVacuumed |
A PostgresSQL table in instance is not auto vacuumed. |
|
PostgresqlTableNotAutoAnalyzed |
A PostgresSQL table in instance is not auto analyzed. |
|
PostgresqlTooManyConnections |
PostgresSQL instance is using > 80% of the maximum connections. |
|
PostgresqlNotEnoughConnections |
PostgresSQL instance does not have enough connections. |
|
PostgresqlDeadLocks |
PostgresSQL instance has dead locks. |
|
PostgresqlHighRollbackRate |
PostgresSQL instance has a high rollback rate instance. |
|
PostgresqlCommitRateLow |
PostgresSQL instance has a low commit rate. |
|
PostgresqlLowXidConsumption |
PostgresSQL instance shows low XID consumption. |
|
PostgresqlHighRateStatementTimeout |
PostgresSQL instance shows a high rate of statement timeout. |
|
PostgresqlHighRateDeadlock |
PostgresSQL instance shows a high deadlock rate. |
|
PostgresqlUnusedReplicationSlot |
PostgresSQL instance has unused replication slots. |
|
PostgresqlTooManyDeadTuples |
PostgresSQL instance has too many dead tuples. |
|
PostgresqlConfigurationChanged |
PostgresSQL instance configuration has changed. |
|
PostgresqlSslCompressionActive |
PostgresSQL instance SSL compression is active. |
|
PostgresqlTooManyLocksAcquired |
PostgreSQL instance has acquired too many locks. |
|
PostgresqlBloatIndexHigh(>80%) |
PostgreSQL instance has a high bloat index (> 80%). |
|
PostgresqlBloatTableHigh(>80%) |
PostgreSQL instance has a high bloat table (> 80%). |
|
PostgresqlInvalidIndex |
PostgresSQL instance )= has an invalid index. |
PgbouncerExporterK8s¶
Alert |
Severity |
Notes |
---|---|---|
PgbouncerActiveConnections |
PgBouncer instance has > 200 active connections |
|
PgbouncerErrors |
PgBouncer instance is logging errors. |
|
PgbouncerMaxConnections |
PgBouncer instance has reached |
PatroniExporterK8s¶
Alert |
Severity |
Notes |
---|---|---|
PatroniPostgresqlDown |
Patroni PostgreSQL instance is down. |
|
PatroniHasNoLeader |
Patroni instance has no leader node. |