File tree Expand file tree Collapse file tree 2 files changed +5
-7
lines changed
charts/prometheus-rds-alerts Expand file tree Collapse file tree 2 files changed +5
-7
lines changed Original file line number Diff line number Diff line change @@ -4,12 +4,11 @@ rule_files:
4
4
evaluation_interval : 1m
5
5
6
6
tests :
7
-
8
7
- name : RDSCPUUtilization
9
8
interval : 1m
10
9
input_series :
11
10
- series : ' rds_cpu_usage_percent_average{aws_account_id="111111111111",aws_region="eu-west-3",dbidentifier="db1"}'
12
- values : ' 90x10'
11
+ values : 90x10
13
12
alert_rule_test :
14
13
- alertname : RDSCPUUtilization
15
14
eval_time : 10m
18
17
aws_account_id : 111111111111
19
18
aws_region : eu-west-3
20
19
dbidentifier : db1
21
- severity : warning
20
+ severity : critical
22
21
exp_annotations :
23
- description : " db1 has 90% CPU used"
22
+ description : " db1 has 90.00 % CPU used"
24
23
summary : " db1 has high CPU utilization"
25
24
runbook_url : " https://qonto.github.io/database-monitoring-framework/0.0.0/runbooks/rds/RDSCPUUtilization"
Original file line number Diff line number Diff line change @@ -9,7 +9,6 @@ rulesGroupName: rds.rules
9
9
additionalPrometheusRuleLabels : {}
10
10
11
11
rules :
12
-
13
12
RDSExporterMissingMetrics :
14
13
expr : absent(rds_exporter_build_info)
15
14
for : 5m
@@ -68,10 +67,10 @@ rules:
68
67
expr : max by (aws_account_id, aws_region, dbidentifier) (rds_cpu_usage_percent_average) > 85
69
68
for : 10m
70
69
labels :
71
- severity : warning
70
+ severity : critical
72
71
annotations :
73
72
summary : " {{ $labels.dbidentifier }} has high CPU utilization"
74
- description : ' {{ $labels.dbidentifier }} has {{ printf "%.2g " $value }}% CPU used'
73
+ description : ' {{ $labels.dbidentifier }} has {{ printf "%.2f " $value }}% CPU used'
75
74
76
75
RDSNonCPUUtilization :
77
76
expr : |
You can’t perform that action at this time.
0 commit comments