File tree Expand file tree Collapse file tree 1 file changed +21
-2
lines changed Expand file tree Collapse file tree 1 file changed +21
-2
lines changed Original file line number Diff line number Diff line change @@ -65,10 +65,29 @@ grafana.dashboard.new(
6565 .setGridPos(w=24 , h=3 ),
6666
6767 grafana.panel.graph.new(
68- title='CPU utilization' ,
68+ title='CPU utilization average ' ,
6969 datasource='$datasource' ,
7070 )
71- .setGridPos(w=24 , h=8 )
71+ .setGridPos(w=12 , h=8 )
72+ .addYaxis(
73+ format='percent' ,
74+ max=100 ,
75+ min=0 ,
76+ )
77+ .addYaxis()
78+ .addTarget(
79+ grafana.target.prometheus.new(
80+ expr='aws_rds_cpuutilization_average{%s}' % [allLabels],
81+ legendFormat='{{dimension_DBInstanceIdentifier}}' ,
82+ datasource='$datasource' ,
83+ ),
84+ ),
85+
86+ grafana.panel.graph.new(
87+ title='CPU utilization maximum' ,
88+ datasource='$datasource' ,
89+ )
90+ .setGridPos(w=12 , h=8 , x=12 )
7291 .addYaxis(
7392 format='percent' ,
7493 max=100 ,
You can’t perform that action at this time.
0 commit comments