mirror of
https://github.com/prometheus/node_exporter.git
synced 2024-11-09 23:24:09 -08:00
Merge pull request #1532 from paulfantom/dont_mix_tabs_and_spaces
docs/node-mixin/dashboards: do not mix tabs and spaces
This commit is contained in:
commit
20fe5bfb5b
|
@ -16,7 +16,7 @@ local g = import 'grafana-builder/grafana.libsonnet';
|
||||||
*
|
*
|
||||||
instance:node_num_cpu:sum{%(nodeExporterSelector)s}
|
instance:node_num_cpu:sum{%(nodeExporterSelector)s}
|
||||||
)
|
)
|
||||||
/ scalar(sum(instance:node_num_cpu:sum{%(nodeExporterSelector)s}))
|
/ scalar(sum(instance:node_num_cpu:sum{%(nodeExporterSelector)s}))
|
||||||
||| % $._config, '{{instance}}', legendLink) +
|
||| % $._config, '{{instance}}', legendLink) +
|
||||||
g.stack +
|
g.stack +
|
||||||
{ yaxes: g.yaxes({ format: 'percentunit', max: 1 }) },
|
{ yaxes: g.yaxes({ format: 'percentunit', max: 1 }) },
|
||||||
|
|
Loading…
Reference in a new issue