remove some unused collectors
Signed-off-by: Krasi Georgiev <8903888+krasi-georgiev@users.noreply.github.com>
This commit is contained in:
committed by
Paweł Krupa
parent
e410043b6b
commit
629e86e53a
@@ -89,7 +89,19 @@ local k = import 'ksonnet/ksonnet.beta.4/k.libsonnet';
|
|||||||
'--path.procfs=/host/proc',
|
'--path.procfs=/host/proc',
|
||||||
'--path.sysfs=/host/sys',
|
'--path.sysfs=/host/sys',
|
||||||
'--path.rootfs=/host/root',
|
'--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
|
// The following settings have been taken from
|
||||||
// https://github.com/prometheus/node_exporter/blob/0662673/collector/filesystem_linux.go#L30-L31
|
// 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.
|
// Once node exporter is being released with those settings, this can be removed.
|
||||||
|
|||||||
@@ -20,6 +20,19 @@ spec:
|
|||||||
- --path.procfs=/host/proc
|
- --path.procfs=/host/proc
|
||||||
- --path.sysfs=/host/sys
|
- --path.sysfs=/host/sys
|
||||||
- --path.rootfs=/host/root
|
- --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-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)$
|
- --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
|
image: quay.io/prometheus/node-exporter:v0.18.1
|
||||||
|
|||||||
Reference in New Issue
Block a user