diff options
author | Joel Hans <joel@netdata.cloud> | 2021-01-04 10:49:00 -0700 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-01-04 10:49:00 -0700 |
commit | 8d11dad2a85505a7563eb164a0be7aedae6b9589 (patch) | |
tree | 2499e4c6c1b3d57c2ce46bc497929d4f751a1fcd /docs/guides/configure/performance.md | |
parent | b4201dc7965e2a04daefad476c36b7346315d5d7 (diff) |
Improve configuration docs with common changes and start/stop/restart directions (#10415)
* Finish new common config doc, delete old one
* Small tweak to blockquote
* Add new files
* Fix broken links
* Fix one more broken link
* Copyedits and improvements
* Fix broken link
* Re-add common config doc
* service -> systemctl
* Reverse systemctl order
* Add mention of .conf files in health.d
* Add mention of minimum global update every
Diffstat (limited to 'docs/guides/configure/performance.md')
-rw-r--r-- | docs/guides/configure/performance.md | 16 |
1 files changed, 11 insertions, 5 deletions
diff --git a/docs/guides/configure/performance.md b/docs/guides/configure/performance.md index 954a03cb20..24231fb81b 100644 --- a/docs/guides/configure/performance.md +++ b/docs/guides/configure/performance.md @@ -54,20 +54,26 @@ The fastest way to improve the Agent's resource utilization is to reduce how oft ## Global -If you don't need per-second metrics, or if the Agent uses a lot of CPU even when no one is viewing that node's +If you don't need per-second metrics, or if the Netdata Agent uses a lot of CPU even when no one is viewing that node's dashboard, configure the Agent to collect metrics less often. -Open `netdata.conf` and edit the `update every` setting. The default is `1`, meaning that the Agent updates every -second. +Open `netdata.conf` and edit the `update every` setting. The default is `1`, meaning that the Agent collects metrics +every second. -If you change this to `2`, Netdata collects metrics every other second, which will effectively halve the CPU utilization -dedicated for metrics collection. Set this to `5` or `10` to collect metrics every 5 or 10 seconds, respectively. +If you change this to `2`, Netdata enforces a minimum `update every` setting of 2 seconds, and collects metrics every +other second, which will effectively halve CPU utilization. Set this to `5` or `10` to collect metrics every 5 or 10 +seconds, respectively. ```conf [global] update every: 5 ``` +Every collector and plugin has its own `update every` setting, which you can also change in the `go.d.conf`, +`python.d.conf`, `node.d.conf`, or `charts.d.conf` files, or in individual collector configuration files. If the `update +every` for an individual collector is less than the global, the Netdata Agent uses the global setting. See the [enable +or configure a collector](/docs/collect/enable-configure.md) doc for details. + ## Specific plugin or collector If you did not [reduce the global collection frequency](#global) but find that a specific plugin/collector uses too many |