Skip to content

Commit

Permalink
fix usage per core panel on nodes dashboard
Browse files Browse the repository at this point in the history
  • Loading branch information
woodsaj committed Dec 6, 2018
1 parent 0a482aa commit 9fc0ccc
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion dashboards/node.libsonnet
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ local gauge = promgrafonnet.gauge;
span=6,
format='percentunit',
)
.addTarget(prometheus.target('avg by (cpu) (irate(node_cpu_seconds_total{%(nodeExporterSelector)s, mode!="idle", instance="$instance"}[5m])) * 100' % $._config, legendFormat='{{cpu}}'));
.addTarget(prometheus.target('sum by (cpu) (irate(node_cpu_seconds_total{%(nodeExporterSelector)s, mode!="idle", instance="$instance"}[5m]))' % $._config, legendFormat='{{cpu}}'));

local memoryGraph =
graphPanel.new(
Expand Down

0 comments on commit 9fc0ccc

Please sign in to comment.