diff options
author | Vladimir Kobal <vlad@prokk.net> | 2019-06-20 21:32:51 +0300 |
---|---|---|
committer | GitHub <noreply@github.com> | 2019-06-20 21:32:51 +0300 |
commit | caaf0f2d2f67c5bd7a21bae5897507fd1991e771 (patch) | |
tree | 012dd8cb255cc05e410b24e1a92f4ab1c89fb856 /collectors/cgroups.plugin | |
parent | 21cd00c84a468d12d55d60f4fff91aac3bce847e (diff) |
Update the documentation on charts with zero metrics (#6314)
Diffstat (limited to 'collectors/cgroups.plugin')
-rw-r--r-- | collectors/cgroups.plugin/README.md | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/collectors/cgroups.plugin/README.md b/collectors/cgroups.plugin/README.md index 3fffbd17ca..c01f9ec04e 100644 --- a/collectors/cgroups.plugin/README.md +++ b/collectors/cgroups.plugin/README.md @@ -101,6 +101,15 @@ The whole point for the additional pattern list, is to limit the number of times The above pattern list is matched against the path of the cgroup. For matched cgroups, netdata calls the script [cgroup-name.sh](cgroup-name.sh.in) to get its name. This script queries `docker`, or applies heuristics to find give a name for the cgroup. +### charts with zero metrics + +By default, Netdata will enable monitoring metrics only when they are not zero. If they are constantly zero they are ignored. Metrics that will start having values, after netdata is started, will be detected and charts will be automatically added to the dashboard (a refresh of the dashboard is needed for them to appear though). Set `yes` for a chart instead of `auto` to enable it permanently. For example: + +``` +[plugin:cgroups] + enable memory (used mem including cache) = yes +``` + ### alarms CPU and memory limits are watched and used to rise alarms. Memory usage for every cgroup is checked against `ram` and `ram+swap` limits. CPU usage for every cgroup is checked against `cpuset.cpus` and `cpu.cfs_period_us` + `cpu.cfs_quota_us` pair assigned for the cgroup. Configuration for the alarms is available in `health.d/cgroups.conf` file. |