apply namespace fix for alert
This commit is contained in:
@@ -1,6 +1,6 @@
|
|||||||
apiVersion: v2
|
apiVersion: v2
|
||||||
name: postgres-cluster
|
name: postgres-cluster
|
||||||
version: 7.1.3
|
version: 7.1.4
|
||||||
description: Cloudnative-pg Cluster
|
description: Cloudnative-pg Cluster
|
||||||
keywords:
|
keywords:
|
||||||
- database
|
- database
|
||||||
|
|||||||
@@ -1,6 +1,6 @@
|
|||||||
# postgres-cluster
|
# postgres-cluster
|
||||||
|
|
||||||
 
|
 
|
||||||
|
|
||||||
Cloudnative-pg Cluster
|
Cloudnative-pg Cluster
|
||||||
|
|
||||||
|
|||||||
@@ -6,7 +6,7 @@ annotations:
|
|||||||
description: |-
|
description: |-
|
||||||
Standby is lagging behind by over 300 seconds (5 minutes)
|
Standby is lagging behind by over 300 seconds (5 minutes)
|
||||||
expr: |
|
expr: |
|
||||||
cnpg_pg_replication_lag > 300
|
cnpg_pg_replication_lag{namespace="{{ .namespace }}"} > 300
|
||||||
for: 1m
|
for: 1m
|
||||||
labels:
|
labels:
|
||||||
severity: warning
|
severity: warning
|
||||||
|
|||||||
Reference in New Issue
Block a user