fix: templating error on volsync prom rules
This commit is contained in:
1 parent
115e59e6cd
commit
8b23097e1e
1 file changed
+3
-7
@@ -10,18 +10,14 @@ spec:
|
||||
- alert: VolSyncComponentAbsent
|
||||
annotations:
|
||||
summary: VolSync component has disappeared from Prometheus target discovery.
|
||||
expr: |
|
||||
absent(up{job="volsync-metrics"})
|
||||
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
|
||||
summary: "{% raw %}{{ $labels.obj_namespace }}/{{ $labels.obj_name }} volume is out of sync.{% endraw %}"
|
||||
expr: volsync_volume_out_of_sync == 1
|
||||
for: 15m
|
||||
labels:
|
||||
severity: critical
|
||||
Reference in new issue
Block a user