All checks were successful
release-charts-postgres-cluster / release (push) Successful in 18s
17 lines
447 B
YAML
17 lines
447 B
YAML
{{- $alert := "CNPGClusterDatabaseDeadlockConflictsWarning" -}}
|
|
{{- if not (has $alert .excludeRules) -}}
|
|
alert: {{ $alert }}
|
|
annotations:
|
|
summary: CNPG Cluster has over 10 deadlock conflicts.
|
|
description: |-
|
|
There are over 10 deadlock conflicts in
|
|
{{`{{`}} $labels.pod {{`}}`}}
|
|
expr: |
|
|
cnpg_pg_stat_database_deadlocks > 10
|
|
for: 1m
|
|
labels:
|
|
severity: warning
|
|
namespace: {{ .namespace }}
|
|
cnpg_cluster: {{ .cluster }}
|
|
{{- end -}}
|