Filter out lxc cgroups which are not useful (#7760)
Vladimir Kobal committed
Jan 16, 2020 at 17:31 UTC
0d2b0c4050e86db20bfca0d565bc6cff54f0a1e7
1 file changed
+5
collectors/cgroups.plugin/sys_fs_cgroup.c
+5
@@ -251,6 +251,9 @@ void read_cgroup_plugin_configuration() {
251
" !/libvirt "
252
" !/lxc "
253
" !/lxc/*/* " // #1397 #2649
254
+ " !/lxc.monitor "
255
+ " !/lxc.pivot "
256
+ " !/lxc.payload "
257
" !/machine "
258
" !/qemu "
259
" !/system "
@@ -270,6 +273,8 @@ void read_cgroup_plugin_configuration() {
273
" !/user "
274
" !/user.slice "
275
" !/lxc/*/* " // #2161 #2649
276
+ " !/lxc.monitor "
277
+ " !/lxc.payload/*/* "
278
" * "
279
), NULL, SIMPLE_PATTERN_EXACT);
280