fix(component/node-exporter): Disable btrfs collector by default

This commit is contained in:
adinhodovic
2023-04-13 13:28:18 +02:00
parent a209d48272
commit 64ed9f1f44
2 changed files with 2 additions and 0 deletions

View File

@@ -210,6 +210,7 @@ function(params) {
'--path.udev.data=/host/root/run/udev/data', '--path.udev.data=/host/root/run/udev/data',
'--no-collector.wifi', '--no-collector.wifi',
'--no-collector.hwmon', '--no-collector.hwmon',
'--no-collector.btrfs',
'--collector.filesystem.mount-points-exclude=' + ne._config.filesystemMountPointsExclude, '--collector.filesystem.mount-points-exclude=' + ne._config.filesystemMountPointsExclude,
'--collector.netclass.ignored-devices=' + ne._config.ignoredNetworkDevices, '--collector.netclass.ignored-devices=' + ne._config.ignoredNetworkDevices,
'--collector.netdev.device-exclude=' + ne._config.ignoredNetworkDevices, '--collector.netdev.device-exclude=' + ne._config.ignoredNetworkDevices,

View File

@@ -33,6 +33,7 @@ spec:
- --path.udev.data=/host/root/run/udev/data - --path.udev.data=/host/root/run/udev/data
- --no-collector.wifi - --no-collector.wifi
- --no-collector.hwmon - --no-collector.hwmon
- --no-collector.btrfs
- --collector.filesystem.mount-points-exclude=^/(dev|proc|sys|run/k3s/containerd/.+|var/lib/docker/.+|var/lib/kubelet/pods/.+)($|/) - --collector.filesystem.mount-points-exclude=^/(dev|proc|sys|run/k3s/containerd/.+|var/lib/docker/.+|var/lib/kubelet/pods/.+)($|/)
- --collector.netclass.ignored-devices=^(veth.*|[a-f0-9]{15})$ - --collector.netclass.ignored-devices=^(veth.*|[a-f0-9]{15})$
- --collector.netdev.device-exclude=^(veth.*|[a-f0-9]{15})$ - --collector.netdev.device-exclude=^(veth.*|[a-f0-9]{15})$