* feat: change jinja block/start delimiters for renovate support Signed-off-by: Devin Buhl <devin@buhl.casa> * fix: update renovate config an helm repos Signed-off-by: Devin Buhl <devin@buhl.casa> --------- Signed-off-by: Devin Buhl <devin@buhl.casa>
26 lines
743 B
YAML
26 lines
743 B
YAML
#% if volsync.enabled | default(false) %#
|
|
---
|
|
apiVersion: monitoring.coreos.com/v1
|
|
kind: PrometheusRule
|
|
metadata:
|
|
name: volsync
|
|
spec:
|
|
groups:
|
|
- name: volsync.rules
|
|
rules:
|
|
- alert: VolSyncComponentAbsent
|
|
annotations:
|
|
summary: VolSync component has disappeared from Prometheus target discovery.
|
|
expr: absent(up{job="volsync-metrics"})
|
|
for: 15m
|
|
labels:
|
|
severity: critical
|
|
- alert: VolSyncVolumeOutOfSync
|
|
annotations:
|
|
summary: "{{ $labels.obj_namespace }}/{{ $labels.obj_name }} volume is out of sync."
|
|
expr: volsync_volume_out_of_sync == 1
|
|
for: 15m
|
|
labels:
|
|
severity: critical
|
|
#% endif %#
|