File tree 1 file changed +9
-3
lines changed
base-helm-configs/prometheus
1 file changed +9
-3
lines changed Original file line number Diff line number Diff line change @@ -172,22 +172,28 @@ additionalPrometheusRulesMap:
172
172
- name : MariaDB backup alerts
173
173
rules :
174
174
- alert : mariadbBackupWarning
175
- expr : time() - kube_cronjob_status_last_successful_time{cronjob="mariadb-backup"} > 21600
175
+ expr : |
176
+ time() - kube_cronjob_status_last_successful_time{cronjob="mariadb-backup", namespace="openstack"} > 21900
177
+ or
178
+ time() - kube_cronjob_status_last_successful_time{cronjob="mariadb-backup", namespace="grafana"} > 86700
176
179
for : 1h
177
180
labels :
178
181
severity : warning
179
182
annotations :
180
183
summary : Last MariaDB backup not successful within 1 hour of scheduled run
181
184
description : " Last MariaDB backup not successful within 1 hour of scheduled run"
182
185
- alert : mariadbBackupCritical
183
- expr : time() - kube_cronjob_status_last_successful_time{cronjob="mariadb-backup"} > 43200
186
+ expr : |
187
+ time() - kube_cronjob_status_last_successful_time{cronjob="mariadb-backup", namespace="openstack"} > 43200
188
+ or
189
+ time() - kube_cronjob_status_last_successful_time{cronjob="mariadb-backup", namespace="grafana"} > 172800
184
190
for : 1h
185
191
labels :
186
192
severity : critical
187
193
annotations :
188
194
summary : Second successive MariaDB backup not successful within 1 hour of scheduled run
189
195
description : " Second successive MariaDB backup not successful within 1 hour of scheduled run"
190
- fluentbit-serviceMonitor -alert :
196
+ fluentbit-servicemonitor -alert :
191
197
groups :
192
198
- name : fluentbit serviceMonitor alert
193
199
rules :
You can’t perform that action at this time.
0 commit comments