All checks were successful
release-charts-postgres-cluster / release (push) Successful in 18s
16 lines
467 B
YAML
16 lines
467 B
YAML
{{- $alert := "CNPGClusterLastFailedArchiveTimeWarning" -}}
|
|
{{- if not (has $alert .excludeRules) -}}
|
|
alert: {{ $alert }}
|
|
annotations:
|
|
summary: CNPG Cluster last time archiving failed.
|
|
description: |-
|
|
Archiving failed for {{`{{`}} $labels.pod {{`}}`}}
|
|
expr: |
|
|
(cnpg_pg_stat_archiver_last_failed_time - cnpg_pg_stat_archiver_last_archived_time) > 1
|
|
for: 1m
|
|
labels:
|
|
severity: warning
|
|
namespace: {{ .namespace }}
|
|
cnpg_cluster: {{ .cluster }}
|
|
{{- end -}}
|