Alert on Immich PostgreSQL replica lag
This commit is contained in:
1 parent
bdf43cf256
commit
543ac82881
1 file changed
+8
@@ -39,3 +39,11 @@ spec:
|
||||
annotations:
|
||||
summary: Immich PostgreSQL is unavailable
|
||||
description: CloudNativePG metrics for the Immich cluster have been unavailable for five minutes.
|
||||
- alert: ImmichPostgreSQLReplicationLag
|
||||
expr: max(cnpg_pg_replication_lag{namespace="immich"}) > 300
|
||||
for: 10m
|
||||
labels:
|
||||
severity: warning
|
||||
annotations:
|
||||
summary: Immich PostgreSQL replicas are behind
|
||||
description: A PostgreSQL replica has had more than five minutes of replay lag for ten minutes.
|
||||
Reference in new issue
Block a user