Browse Source

Filter out lxc cgroups which are not useful (#7760)

Vladimir Kobal 5 years ago
parent
commit
0d2b0c4050
1 changed files with 5 additions and 0 deletions
  1. 5 0
      collectors/cgroups.plugin/sys_fs_cgroup.c

+ 5 - 0
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);