unified cgroup support (#5407)

* WiP unified cgroup support

* add cpu usage support and disk iops support

* memory limits

* WIP working memory charts

* detailed memory chart

* docs change
This commit is contained in:
skrzyp1 2019-04-09 11:36:22 +02:00 committed by Vladimir Kobal
parent ab6f1c0b25
commit 6724b631de
3 changed files with 586 additions and 269 deletions

View File

@ -123,5 +123,6 @@ username|name|email (optional)
@vladmovchan|Vladyslav Movchan|vladislav.movchan@gmail.com
@gmosx|George Moschovitis
@adherzog|Adam Herzog|adam@adamherzog.com
@skrzyp1|Jerzy S.|
[![analytics](https://www.google-analytics.com/collect?v=1&aip=1&t=pageview&_s=1&ds=github&dr=https%3A%2F%2Fgithub.com%2Fnetdata%2Fnetdata&dl=https%3A%2F%2Fmy-netdata.io%2Fgithub%2FCONTRIBUTORS&_u=MAC~&cid=5792dfd7-8dc4-476b-af31-da2fdb9f93d2&tid=UA-64295674-3)]()

View File

@ -56,6 +56,18 @@ To provide a sane default for this setting, netdata uses the following pattern l
So, we disable checking for **child cgroups** in systemd internal cgroups ([systemd services are monitored by netdata](#monitoring-systemd-services)), user cgroups (normally used for desktop and remote user sessions), qemu virtual machines (child cgroups of virtual machines) and `init.scope`. All others are enabled.
### unified cgroups (cgroups v2) support
Basic unified cgroups metrics are supported. To use them instead of v1 cgroups add:
```
[plugin:cgroups]
use unified cgroups = yes
path to unified cgroups = /sys/fs/cgroup
```
Unified cgroups use same name pattern matching as v1 cgroups. `cgroup_enable_systemd_services_detailed_memory` is currently unsupported when using unified cgroups.
### enabled cgroups

File diff suppressed because it is too large Load Diff