File tree Expand file tree Collapse file tree 3 files changed +1198
-0
lines changed Expand file tree Collapse file tree 3 files changed +1198
-0
lines changed Original file line number Diff line number Diff line change @@ -94,6 +94,34 @@ velero_release_namespace: velero
94
94
velero_release_name : velero
95
95
velero_wait_timeout : 10m
96
96
velero_release_defaults :
97
+ metrics :
98
+ enabled : true
99
+ serviceMonitor :
100
+ enabled : true
101
+ prometheusRule :
102
+ enabled : true
103
+ spec :
104
+ - alert : VeleroBackupPartialFailures
105
+ annotations :
106
+ # Use the unsafe tag to prevent Ansible trying to render it as a template
107
+ message : !unsafe >-
108
+ Velero schedule '{{ $labels.schedule }}' has partially failed backups in the last 24 hours.
109
+ expr : |-
110
+ sum(increase(velero_backup_partial_failure_total{schedule!=""}[24h])) by(schedule) > 0
111
+ for : 15m
112
+ labels :
113
+ severity : warning
114
+
115
+ - alert : VeleroBackupFailures
116
+ annotations :
117
+ # Use the unsafe tag to prevent Ansible trying to render it as a template
118
+ message : !unsafe >-
119
+ Velero schedule '{{ $labels.schedule }}' has failed backups in the last 24 hours.
120
+ expr : |-
121
+ sum(increase(velero_backup_failure_total{schedule!=""}[24h])) by(schedule) > 0
122
+ for : 15m
123
+ labels :
124
+ severity : warning
97
125
configuration :
98
126
features : EnableCSI
99
127
backupStorageLocation :
You can’t perform that action at this time.
0 commit comments