Skip to content

Commit 2c53b3c

Browse files
committed
assets: disable btrfs collector in node-exporter
Profiling shows that node-exporter is using ~16% of CPU time on updating btrfs details. This FS is not included in RHEL kernels, so it can be safely disabled
1 parent 7b0a677 commit 2c53b3c

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

assets/node-exporter/daemonset.yaml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -35,6 +35,7 @@ spec:
3535
- --path.rootfs=/host/root
3636
- --path.udev.data=/host/root/run/udev/data
3737
- --no-collector.wifi
38+
- --no-collector.btrfs
3839
- --collector.filesystem.mount-points-exclude=^/(dev|proc|sys|run/k3s/containerd/.+|var/lib/docker/.+|var/lib/kubelet/pods/.+)($|/)
3940
- --collector.netclass.ignored-devices=^(veth.*|[a-f0-9]{15}|enP.*|ovn-k8s-mp[0-9]*|br-ex|br-int|br-ext|br[0-9]*|tun[0-9]*|cali[a-f0-9]*)$
4041
- --collector.netdev.device-exclude=^(veth.*|[a-f0-9]{15}|enP.*|ovn-k8s-mp[0-9]*|br-ex|br-int|br-ext|br[0-9]*|tun[0-9]*|cali[a-f0-9]*)$

0 commit comments

Comments
 (0)