Skip to content

Commit 0348e09

Browse files
authored
fix: calculate average CPU util (#905)
With this, the average CPU utilization across clusters is calculated instead of listing the CPU util per cluster. This fixes the visuals of the panel and brings it in line with the other panels in the row, which all display an average.
1 parent a3affb3 commit 0348e09

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

dashboards/resources/multi-cluster.libsonnet

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -62,7 +62,7 @@ local var = g.dashboard.variable;
6262
statPanel(
6363
'CPU Utilisation',
6464
'none',
65-
'cluster:node_cpu:ratio_rate5m'
65+
'sum(cluster:node_cpu:ratio_rate5m) / count(cluster:node_cpu:ratio_rate5m)'
6666
),
6767

6868
statPanel(

0 commit comments

Comments
 (0)