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:
Björn Rabenstein 2019-11-01 16:05:42 +01:00 committed by GitHub
commit 20fe5bfb5b
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -16,7 +16,7 @@ local g = import 'grafana-builder/grafana.libsonnet';
*
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) +
g.stack +
{ yaxes: g.yaxes({ format: 'percentunit', max: 1 }) },