@cryptotaxi247 / netdata-1 / commits / 03ae774c1

collectors/cgroups: filter pod level cgroups (#10095)

Ilya Mashchenko committed Oct 20, 2020 at 11:59 UTC 03ae774c1e386f2a6fa4638cff048fc4e83732de
1 file changed +3
collectors/cgroups.plugin/sys_fs_cgroup.c
+3
@@ -362,9 +362,12 @@ void read_cgroup_plugin_configuration() {
362 // ----------------------------------------------------------------
363
364 " /machine.slice/*.service " // #3367 systemd-nspawn
365 + " /kubepods/pod*/* " // k8s containers
366 + " /kubepods/*/pod*/* " // k8s containers
367
368 // ----------------------------------------------------------------
369
370 + " !/kubepods* " // all other k8s cgroups
371 " !*/vcpu* " // libvirtd adds these sub-cgroups
372 " !*/emulator " // libvirtd adds these sub-cgroups
373 " !*.mount "