node-mixin: fix query in Disk Space Utilisation dashboard

Signed-off-by: Sergiusz Urbaniak <sergiusz.urbaniak@gmail.com>
pull/1483/head
Sergiusz Urbaniak 5 years ago
parent 7caedccd73
commit ed78237036

@ -280,9 +280,9 @@ local g = import 'grafana-builder/grafana.libsonnet';
g.queryPanel(|||
1 -
(
max without (mountpoint, fstype) (node_filesystem_avail_bytes{%(nodeExporterSelector)s, %(fsSelector)s, instance="$instance"}})
max without (mountpoint, fstype) (node_filesystem_avail_bytes{%(nodeExporterSelector)s, %(fsSelector)s, instance="$instance"})
/
max without (mountpoint, fstype) (node_filesystem_size_bytes{%(nodeExporterSelector)s, %(fsSelector)s, instance="$instance"}})
max without (mountpoint, fstype) (node_filesystem_size_bytes{%(nodeExporterSelector)s, %(fsSelector)s, instance="$instance"})
)
||| % $._config, '{{device}}') +
{

Loading…
Cancel
Save