diff --git a/jsonnet/kube-prometheus/node-exporter/node-exporter.libsonnet b/jsonnet/kube-prometheus/node-exporter/node-exporter.libsonnet index d7e9fb3be6aad0c6b0b765f9566a3fac2217a09d..6a6d50fe9fd7efcbfce823351d7dc3fb677b6efe 100644 --- a/jsonnet/kube-prometheus/node-exporter/node-exporter.libsonnet +++ b/jsonnet/kube-prometheus/node-exporter/node-exporter.libsonnet @@ -89,7 +89,19 @@ local k = import 'ksonnet/ksonnet.beta.4/k.libsonnet'; '--path.procfs=/host/proc', '--path.sysfs=/host/sys', '--path.rootfs=/host/root', - + '--no-collector.wifi', + '--no-collector.hwmon', + '--no-collector.netstat', + '--no-collector.sockstat', + '--no-collector.entropy', + '--no-collector.filefd', + '--no-collector.time', + '--no-collector.conntrack', + '--no-collector.bcache', + '--no-collector.stat', + '--no-collector.xfs', + '--no-collector.pressure', + '--no-collector.arp', // The following settings have been taken from // https://github.com/prometheus/node_exporter/blob/0662673/collector/filesystem_linux.go#L30-L31 // Once node exporter is being released with those settings, this can be removed. diff --git a/manifests/node-exporter-daemonset.yaml b/manifests/node-exporter-daemonset.yaml index 9f585fa7c103bc9295904cd0622c83b05c697023..43781c5dd840e53178be1ce5c94dfe229e3e77fc 100644 --- a/manifests/node-exporter-daemonset.yaml +++ b/manifests/node-exporter-daemonset.yaml @@ -20,6 +20,19 @@ spec: - --path.procfs=/host/proc - --path.sysfs=/host/sys - --path.rootfs=/host/root + - --no-collector.wifi + - --no-collector.hwmon + - --no-collector.netstat + - --no-collector.sockstat + - --no-collector.entropy + - --no-collector.filefd + - --no-collector.time + - --no-collector.conntrack + - --no-collector.bcache + - --no-collector.stat + - --no-collector.xfs + - --no-collector.pressure + - --no-collector.arp - --collector.filesystem.ignored-mount-points=^/(dev|proc|sys|var/lib/docker/.+)($|/) - --collector.filesystem.ignored-fs-types=^(autofs|binfmt_misc|cgroup|configfs|debugfs|devpts|devtmpfs|fusectl|hugetlbfs|mqueue|overlay|proc|procfs|pstore|rpc_pipefs|securityfs|sysfs|tracefs)$ image: quay.io/prometheus/node-exporter:v0.18.1