diff options
author | Ilya Mashchenko <ilya@netdata.cloud> | 2020-10-20 11:59:10 +0300 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-10-20 11:59:10 +0300 |
commit | 03ae774c1e386f2a6fa4638cff048fc4e83732de (patch) | |
tree | 8d80ab96adcb2feeb220fafaea20ad1aefeecbd5 /collectors | |
parent | 52db45930be11709df9ce945dd7940c99121ab5a (diff) |
collectors/cgroups: filter pod level cgroups (#10095)
Diffstat (limited to 'collectors')
-rw-r--r-- | collectors/cgroups.plugin/sys_fs_cgroup.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/collectors/cgroups.plugin/sys_fs_cgroup.c b/collectors/cgroups.plugin/sys_fs_cgroup.c index 87f13e11e9..75df8c6382 100644 --- a/collectors/cgroups.plugin/sys_fs_cgroup.c +++ b/collectors/cgroups.plugin/sys_fs_cgroup.c @@ -362,9 +362,12 @@ void read_cgroup_plugin_configuration() { // ---------------------------------------------------------------- " /machine.slice/*.service " // #3367 systemd-nspawn + " /kubepods/pod*/* " // k8s containers + " /kubepods/*/pod*/* " // k8s containers // ---------------------------------------------------------------- + " !/kubepods* " // all other k8s cgroups " !*/vcpu* " // libvirtd adds these sub-cgroups " !*/emulator " // libvirtd adds these sub-cgroups " !*.mount " |