]> arthur.barton.de Git - netdata.git/blobdiff - src/sys_fs_cgroup.c
tc works on qdiscs too, merged #1427
[netdata.git] / src / sys_fs_cgroup.c
index 8ea8b5b6a8655fd8a4dc016158d9106d0a8ff818..faeb7c930c6d8189af7483196a659f07cdb48a1a 100644 (file)
@@ -145,6 +145,7 @@ void read_cgroup_plugin_configuration() {
 
     enabled_cgroup_patterns = simple_pattern_create(
             config_get("plugin:cgroups", "enable by default cgroups matching",
+                    " /system.slice/docker-*.scope "
                     " !*.mount "
                     " !*.partition "
                     " !*.scope "
@@ -180,6 +181,8 @@ void read_cgroup_plugin_configuration() {
 
     enabled_cgroup_renames = simple_pattern_create(
             config_get("plugin:cgroups", "run script to rename cgroups matching",
+                    " *docker* "
+                    " *lxc* "
                     " !/ "
                     " !*.mount "
                     " !*.partition "