All checks were successful
release-charts-postgres-cluster / release (push) Successful in 18s
17 lines
482 B
YAML
17 lines
482 B
YAML
{{- $alert := "CNPGClusterReplicaFailingReplicationWarning" -}}
|
|
{{- if not (has $alert .excludeRules) -}}
|
|
alert: {{ $alert }}
|
|
annotations:
|
|
summary: CNPG Cluster has a replica is failing to replicate.
|
|
description: |-
|
|
Replica {{`{{`}} $labels.pod {{`}}`}}
|
|
is failing to replicate
|
|
expr: |
|
|
cnpg_pg_replication_in_recovery > cnpg_pg_replication_is_wal_receiver_up
|
|
for: 1m
|
|
labels:
|
|
severity: warning
|
|
namespace: {{ .namespace }}
|
|
cnpg_cluster: {{ .cluster }}
|
|
{{- end -}}
|