diff options
author | Vladimir Kobal <vlad@prokk.net> | 2020-01-16 17:31:47 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-01-16 17:31:47 +0200 |
commit | 0d2b0c4050e86db20bfca0d565bc6cff54f0a1e7 (patch) | |
tree | fe266719ccc980fecd3f8c5ea95a3032bad0a762 /collectors/cgroups.plugin | |
parent | 1db77eb15e802ffb111300a1a20c0fcdfa26d6e7 (diff) |
Filter out lxc cgroups which are not useful (#7760)
Diffstat (limited to 'collectors/cgroups.plugin')
-rw-r--r-- | collectors/cgroups.plugin/sys_fs_cgroup.c | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/collectors/cgroups.plugin/sys_fs_cgroup.c b/collectors/cgroups.plugin/sys_fs_cgroup.c index 7882d0185f..9054c5a279 100644 --- a/collectors/cgroups.plugin/sys_fs_cgroup.c +++ b/collectors/cgroups.plugin/sys_fs_cgroup.c @@ -251,6 +251,9 @@ void read_cgroup_plugin_configuration() { " !/libvirt " " !/lxc " " !/lxc/*/* " // #1397 #2649 + " !/lxc.monitor " + " !/lxc.pivot " + " !/lxc.payload " " !/machine " " !/qemu " " !/system " @@ -270,6 +273,8 @@ void read_cgroup_plugin_configuration() { " !/user " " !/user.slice " " !/lxc/*/* " // #2161 #2649 + " !/lxc.monitor " + " !/lxc.payload/*/* " " * " ), NULL, SIMPLE_PATTERN_EXACT); |