summaryrefslogtreecommitdiffstats
path: root/collectors/python.d.plugin/go_expvar
diff options
context:
space:
mode:
authorJoel Hans <joel@netdata.cloud>2021-01-12 08:12:09 -0700
committerGitHub <noreply@github.com>2021-01-12 08:12:09 -0700
commitdc8dc2476ce064ab04095eadef86416b45909643 (patch)
treeacd09a3cb5d05838fb7ca428eab86917ec87078b /collectors/python.d.plugin/go_expvar
parentc817387917ec28eabcc45a39c9526858577efc3c (diff)
Add instructions on enabling explicitly disabled collectors (#10418)
* Add enable instructions and fix comment * service -> systemctl * Reverse systemctl order
Diffstat (limited to 'collectors/python.d.plugin/go_expvar')
-rw-r--r--collectors/python.d.plugin/go_expvar/README.md13
1 files changed, 13 insertions, 0 deletions
diff --git a/collectors/python.d.plugin/go_expvar/README.md b/collectors/python.d.plugin/go_expvar/README.md
index 4db68b04e8..66ebc0b67b 100644
--- a/collectors/python.d.plugin/go_expvar/README.md
+++ b/collectors/python.d.plugin/go_expvar/README.md
@@ -252,6 +252,19 @@ In the above case, the exported variables will be available under `runtime.gorou
`counters.cnt1` and `counters.cnt2` expvar_keys. If the flattening results in a key collision,
the first defined key wins and all subsequent keys with the same name are ignored.
+## Enable the collector
+
+The `go_expvar` collector is disabled by default. To enable it, use `edit-config` from the Netdata [config
+directory](/docs/configure/nodes.md), which is typically at `/etc/netdata`, to edit the `python.d.conf` file.
+
+```bash
+cd /etc/netdata # Replace this path with your Netdata config directory, if different
+sudo ./edit-config python.d.conf
+```
+
+Change the value of the `go_expvar` setting to `yes`. Save the file and restart the Netdata Agent with `sudo systemctl
+restart netdata`, or the appropriate method for your system, to finish enabling the `go_expvar` collector.
+
## Configuration
Edit the `python.d/go_expvar.conf` configuration file using `edit-config` from the Netdata [config