Skip to content

Commit 61af41d

Browse files
Fix the 'runbook_url' position in prometheus-rules file (noobaa#1804) (noobaa#1805)
(cherry picked from commit aaea6b9) Signed-off-by: Arun Kumar Mohan <amohan@redhat.com> Signed-off-by: liranmauda <liran.mauda@gmail.com> Co-authored-by: Arun Kumar Mohan <amohan@redhat.com>
1 parent 24369c1 commit 61af41d

2 files changed

Lines changed: 7 additions & 7 deletions

File tree

deploy/internal/prometheus-rules.yaml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -215,39 +215,39 @@ spec:
215215
description: A NooBaa system is approaching its capacity, usage is more than
216216
85%
217217
message: A NooBaa System Is Approaching Its Capacity
218+
runbook_url: https://github.com/openshift/runbooks/blob/master/alerts/openshift-container-storage-operator/NooBaaSystemCapacityWarning85.md
218219
severity_level: warning
219220
storage_type: NooBaa
220221
expr: |
221222
NooBaa_system_capacity > 85
222223
for: 5m
223224
labels:
224225
severity: warning
225-
runbook_url: https://github.com/openshift/runbooks/blob/master/alerts/openshift-container-storage-operator/NooBaaSystemCapacityWarning85.md
226226
- alert: NooBaaSystemCapacityWarning95
227227
annotations:
228228
description: A NooBaa system is approaching its capacity, usage is more than
229229
95%
230230
message: A NooBaa System Is Approaching Its Capacity
231+
runbook_url: https://github.com/openshift/runbooks/blob/master/alerts/openshift-container-storage-operator/NooBaaSystemCapacityWarning95.md
231232
severity_level: critical
232233
storage_type: NooBaa
233234
expr: |
234235
NooBaa_system_capacity > 95
235236
for: 5m
236237
labels:
237238
severity: critical
238-
runbook_url: https://github.com/openshift/runbooks/blob/master/alerts/openshift-container-storage-operator/NooBaaSystemCapacityWarning95.md
239239
- alert: NooBaaSystemCapacityWarning100
240240
annotations:
241241
description: A NooBaa system approached its capacity, usage is at 100%
242242
message: A NooBaa System Approached Its Capacity
243+
runbook_url: https://github.com/openshift/runbooks/blob/master/alerts/openshift-container-storage-operator/NooBaaSystemCapacityWarning100.md
243244
severity_level: critical
244245
storage_type: NooBaa
245246
expr: |
246247
NooBaa_system_capacity == 100
247248
for: 5m
248249
labels:
249250
severity: critical
250-
runbook_url: https://github.com/openshift/runbooks/blob/master/alerts/openshift-container-storage-operator/NooBaaSystemCapacityWarning100.md
251251
- name: noobaa-db-alert.rules
252252
rules:
253253
- alert: NooBaaDatabaseReachingCapacity

pkg/bundle/deploy.go

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -4698,7 +4698,7 @@ spec:
46984698
secretName: AGENT_CONFIG_SECRET_NAME
46994699
`
47004700

4701-
const Sha256_deploy_internal_prometheus_rules_yaml = "743c9c99718885b929ac5bd6aa2e6064d75e13c5e2164389e8332a2444549536"
4701+
const Sha256_deploy_internal_prometheus_rules_yaml = "dac4b932bd715af0ae7a5f833dec0cd168a67a699c6e83f0b38eb5f90ba44dd1"
47024702

47034703
const File_deploy_internal_prometheus_rules_yaml = `apiVersion: monitoring.coreos.com/v1
47044704
kind: PrometheusRule
@@ -4917,39 +4917,39 @@ spec:
49174917
description: A NooBaa system is approaching its capacity, usage is more than
49184918
85%
49194919
message: A NooBaa System Is Approaching Its Capacity
4920+
runbook_url: https://github.com/openshift/runbooks/blob/master/alerts/openshift-container-storage-operator/NooBaaSystemCapacityWarning85.md
49204921
severity_level: warning
49214922
storage_type: NooBaa
49224923
expr: |
49234924
NooBaa_system_capacity > 85
49244925
for: 5m
49254926
labels:
49264927
severity: warning
4927-
runbook_url: https://github.com/openshift/runbooks/blob/master/alerts/openshift-container-storage-operator/NooBaaSystemCapacityWarning85.md
49284928
- alert: NooBaaSystemCapacityWarning95
49294929
annotations:
49304930
description: A NooBaa system is approaching its capacity, usage is more than
49314931
95%
49324932
message: A NooBaa System Is Approaching Its Capacity
4933+
runbook_url: https://github.com/openshift/runbooks/blob/master/alerts/openshift-container-storage-operator/NooBaaSystemCapacityWarning95.md
49334934
severity_level: critical
49344935
storage_type: NooBaa
49354936
expr: |
49364937
NooBaa_system_capacity > 95
49374938
for: 5m
49384939
labels:
49394940
severity: critical
4940-
runbook_url: https://github.com/openshift/runbooks/blob/master/alerts/openshift-container-storage-operator/NooBaaSystemCapacityWarning95.md
49414941
- alert: NooBaaSystemCapacityWarning100
49424942
annotations:
49434943
description: A NooBaa system approached its capacity, usage is at 100%
49444944
message: A NooBaa System Approached Its Capacity
4945+
runbook_url: https://github.com/openshift/runbooks/blob/master/alerts/openshift-container-storage-operator/NooBaaSystemCapacityWarning100.md
49454946
severity_level: critical
49464947
storage_type: NooBaa
49474948
expr: |
49484949
NooBaa_system_capacity == 100
49494950
for: 5m
49504951
labels:
49514952
severity: critical
4952-
runbook_url: https://github.com/openshift/runbooks/blob/master/alerts/openshift-container-storage-operator/NooBaaSystemCapacityWarning100.md
49534953
- name: noobaa-db-alert.rules
49544954
rules:
49554955
- alert: NooBaaDatabaseReachingCapacity

0 commit comments

Comments
 (0)