mirror of
https://github.com/prometheus-operator/kube-prometheus.git
synced 2025-11-02 00:51:01 +01:00
Merge pull request #381 from krasi-georgiev/remove-collectors
remove some unused collectors
This commit is contained in:
commit
a7628e0223
@ -89,7 +89,8 @@ 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',
|
||||||
// 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,8 @@ 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
|
||||||
- --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
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user