File tree Expand file tree Collapse file tree 2 files changed +9
-35
lines changed
Expand file tree Collapse file tree 2 files changed +9
-35
lines changed Original file line number Diff line number Diff line change @@ -158,27 +158,14 @@ spec:
158158 for : 5m
159159 labels :
160160 severity : warning
161- - alert : NooBaaBucketLowCapacityState
161+ - alert : NooBaaBackingStoreLowCapacityState
162162 annotations :
163- description : A NooBaa bucket {{ $labels.bucket_name }} is using {{ printf
164- " %0.0f" $value }}% of its capacity
165- message : A NooBaa Bucket Is In Low Capacity State
166- severity_level : warning
167- storage_type : NooBaa
168- expr : |
169- NooBaa_bucket_capacity{bucket_name=~".*"} > 80
170- for : 5m
171- labels :
172- severity : warning
173- - alert : NooBaaBucketNoCapacityState
174- annotations :
175- description : A NooBaa bucket {{ $labels.bucket_name }} is using all of its
176- capacity
177- message : A NooBaa Bucket Is In No Capacity State
163+ description : A NooBaa backing store is in low capacity.
164+ message : A NooBaa backing store is in low capacity state.
178165 severity_level : warning
179166 storage_type : NooBaa
180167 expr : |
181- NooBaa_bucket_capacity{bucket_name =~".*"} > 95
168+ NooBaa_is_low_capacity{resource_name =~".*"} == 1
182169 for : 5m
183170 labels :
184171 severity : warning
Original file line number Diff line number Diff line change @@ -4695,7 +4695,7 @@ spec:
46954695 secretName: AGENT_CONFIG_SECRET_NAME
46964696`
46974697
4698- const Sha256_deploy_internal_prometheus_rules_yaml = "9dba8cfe7b655d3467b091531c95e6d34e8bd179f36ece6eaf3cff8ef73df23d "
4698+ const Sha256_deploy_internal_prometheus_rules_yaml = "c20fbd10e2c0cbd0c4c938d8591e3e3357f92919af05eb67b6d7daa53b37532f "
46994699
47004700const File_deploy_internal_prometheus_rules_yaml = `apiVersion: monitoring.coreos.com/v1
47014701kind: PrometheusRule
@@ -4857,27 +4857,14 @@ spec:
48574857 for: 5m
48584858 labels:
48594859 severity: warning
4860- - alert: NooBaaBucketLowCapacityState
4860+ - alert: NooBaaBackingStoreLowCapacityState
48614861 annotations:
4862- description: A NooBaa bucket {{ $labels.bucket_name }} is using {{ printf
4863- "%0.0f" $value }}% of its capacity
4864- message: A NooBaa Bucket Is In Low Capacity State
4865- severity_level: warning
4866- storage_type: NooBaa
4867- expr: |
4868- NooBaa_bucket_capacity{bucket_name=~".*"} > 80
4869- for: 5m
4870- labels:
4871- severity: warning
4872- - alert: NooBaaBucketNoCapacityState
4873- annotations:
4874- description: A NooBaa bucket {{ $labels.bucket_name }} is using all of its
4875- capacity
4876- message: A NooBaa Bucket Is In No Capacity State
4862+ description: A NooBaa backing store is in low capacity.
4863+ message: A NooBaa backing store is in low capacity state.
48774864 severity_level: warning
48784865 storage_type: NooBaa
48794866 expr: |
4880- NooBaa_bucket_capacity{bucket_name =~".*"} > 95
4867+ NooBaa_is_low_capacity{resource_name =~".*"} == 1
48814868 for: 5m
48824869 labels:
48834870 severity: warning
You can’t perform that action at this time.
0 commit comments