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 |
|---|---|---|
|
PostgreSQL instance is down. |
|
|
PostgreSQL instance has restarted. |
|
|
PostgreSQL instance is showing an exporter error. |
|
|
A PostgreSQL table in instance is not auto vacuumed. |
|
|
A PostgreSQL table in instance is not auto |
|
|
PostgreSQL instance is using > 80% of the maximum connections. |
|
|
PostgreSQL instance does not have enough connections. |
|
|
PostgreSQL instance has dead locks. |
|
|
PostgreSQL instance has a high rollback rate instance. |
|
|
PostgreSQL instance has a low commit rate. |
|
|
PostgreSQL instance shows low XID consumption. |
|
|
PostgreSQL instance shows a high rate of statement timeout. |
|
|
PostgreSQL instance shows a high deadlock rate. |
|
|
PostgreSQL instance has unused replication slots. |
|
|
PostgreSQL instance has too many dead tuples. |
|
|
PostgreSQL instance configuration has changed. |
|
|
PostgreSQL instance SSL compression is active. |
|
|
PostgreSQL instance has acquired too many locks. |
|
|
PostgreSQL instance has a high bloat index (> 80%). |
|
|
PostgreSQL instance has a high bloat table (> 80%). |
|
|
PostgreSQL instance )= has an invalid index. |
PgbouncerExporterK8s¶
Alert |
Severity |
Notes |
|---|---|---|
|
PgBouncer instance has > 200 active connections |
|
|
PgBouncer instance is logging errors. |
|
|
PgBouncer instance has reached |
PatroniExporterK8s¶
Alert |
Severity |
Notes |
|---|---|---|
|
Patroni PostgreSQL instance is down. |
|
|
Patroni instance has no leader node. |
PgbackrestExporterK8s¶
Alert |
Severity |
Notes |
|---|---|---|
|
Backup failed for a stanza. |
|
|
No recent backup available. |
|
|
A stanza has reported errors. |
|
|
A repository has reported errors. |
|
|
The pgBackRest exporter failed to fetch data. |