summaryrefslogtreecommitdiffstats
path: root/docs
diff options
context:
space:
mode:
authorIlya Mashchenko <ilya@netdata.cloud>2022-05-17 17:31:19 +0300
committerGitHub <noreply@github.com>2022-05-17 17:31:19 +0300
commit0fa55c7dcee497d6cfb725604d03ffc300a97ebd (patch)
treec904020933789c4692a5c4026e01b015a3e7e8d2 /docs
parentbde07cba29cefda2f701505ae9764aa7f203aea4 (diff)
feat: move dirs, logs, and env vars config options to separate sections (#12935)
Diffstat (limited to 'docs')
-rw-r--r--docs/contributing/style-guide.md4
-rw-r--r--docs/guides/configure/performance.md9
2 files changed, 6 insertions, 7 deletions
diff --git a/docs/contributing/style-guide.md b/docs/contributing/style-guide.md
index 2af58d54ae..5ff61164d1 100644
--- a/docs/contributing/style-guide.md
+++ b/docs/contributing/style-guide.md
@@ -443,7 +443,7 @@ code, for example:
inline char *health_stock_config_dir(void) {
char buffer[FILENAME_MAX + 1];
snprintfz(buffer, FILENAME_MAX, "%s/health.d", netdata_configured_stock_config_dir);
- return config_get(CONFIG_SECTION_HEALTH, "stock health configuration directory", buffer);
+ return config_get(CONFIG_SECTION_DIRECTORIES, "stock health config", buffer);
}
```
````
@@ -454,7 +454,7 @@ And the prettified result:
inline char *health_stock_config_dir(void) {
char buffer[FILENAME_MAX + 1];
snprintfz(buffer, FILENAME_MAX, "%s/health.d", netdata_configured_stock_config_dir);
- return config_get(CONFIG_SECTION_HEALTH, "stock health configuration directory", buffer);
+ return config_get(CONFIG_SECTION_DIRECTORIES, "stock health config", buffer);
}
```
diff --git a/docs/guides/configure/performance.md b/docs/guides/configure/performance.md
index bee830358c..f836341685 100644
--- a/docs/guides/configure/performance.md
+++ b/docs/guides/configure/performance.md
@@ -108,9 +108,9 @@ Open `netdata.conf` and scroll down to the `[plugins]` section. To disable any p
```conf
[plugins]
proc = yes
- python.d = no
- charts.d = no
- go.d = yes
+ python.d = no
+ charts.d = no
+ go.d = yes
```
Disable specific collectors by opening their respective plugin configuration files, uncommenting the line for the
@@ -183,7 +183,6 @@ Finally, edit `netdata.conf` with the following settings:
```conf
[global]
bind socket to IP = 127.0.0.1
- access log = none
disconnect idle web clients after seconds = 3600
enable web responses gzip compression = no
```
@@ -215,7 +214,7 @@ If you installation is working correctly, and you're not actively auditing Netda
`netdata.conf`.
```conf
-[global]
+[logs]
debug log = none
error log = none
access log = none