Skip to content

Commit da5917a

Browse files
ellisdacsmarchbanks
authored andcommitted
add num cores to system load graph panel
1 parent c4acc6e commit da5917a

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

dashboards/node.libsonnet

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,8 @@ local gauge = promgrafonnet.gauge;
2020
)
2121
.addTarget(prometheus.target('max(node_load1{%(clusterLabel)s="$cluster", %(nodeExporterSelector)s, instance="$instance"})' % $._config, legendFormat='load 1m'))
2222
.addTarget(prometheus.target('max(node_load5{%(clusterLabel)s="$cluster", %(nodeExporterSelector)s, instance="$instance"})' % $._config, legendFormat='load 5m'))
23-
.addTarget(prometheus.target('max(node_load15{%(clusterLabel)s="$cluster", %(nodeExporterSelector)s, instance="$instance"})' % $._config, legendFormat='load 15m'));
23+
.addTarget(prometheus.target('max(node_load15{%(clusterLabel)s="$cluster", %(nodeExporterSelector)s, instance="$instance"})' % $._config, legendFormat='load 15m'))
24+
.addTarget(prometheus.target('count(node_cpu_seconds_total{%(clusterLabel)s="$cluster", %(nodeExporterSelector)s, instance="$instance", mode="user"})' % $._config, legendFormat='logical cores'));
2425

2526
local cpuByCore =
2627
graphPanel.new(

0 commit comments

Comments
 (0)