We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent b7145de commit 92e1910Copy full SHA for 92e1910
mixin/dashboards/rds.libsonnet
@@ -65,10 +65,29 @@ grafana.dashboard.new(
65
.setGridPos(w=24, h=3),
66
67
grafana.panel.graph.new(
68
- title='CPU utilization',
+ title='CPU utilization average',
69
datasource='$datasource',
70
)
71
- .setGridPos(w=24, h=8)
+ .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
89
90
+ .setGridPos(w=12, h=8, x=12)
91
.addYaxis(
92
format='percent',
93
max=100,
0 commit comments