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(
65
65
.setGridPos(w=24 , h=3 ),
66
66
67
67
grafana.panel.graph.new(
68
- title='CPU utilization' ,
68
+ title='CPU utilization average ' ,
69
69
datasource='$datasource' ,
70
70
)
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 )
72
91
.addYaxis(
73
92
format='percent' ,
74
93
max=100 ,
You can’t perform that action at this time.
0 commit comments