fix node_filesystem only collect mountpoint '/' metrics

This commit is contained in:
liuxu
2019-01-11 15:16:46 +08:00
committed by Frederic Branczyk
parent bfbe046985
commit 0b55989aef
2 changed files with 2 additions and 0 deletions

View File

@@ -90,6 +90,7 @@ local k = import 'ksonnet/ksonnet.beta.3/k.libsonnet';
'--web.listen-address=127.0.0.1:' + $._config.nodeExporter.port,
'--path.procfs=/host/proc',
'--path.sysfs=/host/sys',
'--path.rootfs=/host/root',
// The following settings have been taken from
// https://github.com/prometheus/node_exporter/blob/0662673/collector/filesystem_linux.go#L30-L31