Clearify the path of `plugins.d/go.d.plugin` in docs (#20258)
Update README.md
n0099 committed
May 9, 2025 at 00:44 UTC
f9794d06bfde59b63980fce42a45756ad4c05ee9
1 file changed
+10
-5
src/go/plugin/go.d/README.md
+10
-5
@@ -190,7 +190,7 @@ Then [restart netdata](/docs/netdata-agent/start-stop-restart.md) for the change
190
191
## Troubleshooting
192
193
-Plugin CLI:
193
+### Plugin CLI:
194
195
```sh
196
Usage:
@@ -207,14 +207,19 @@ Help Options:
207
-h, --help Show this help message
208
```
209
210
-To debug specific module:
210
+### To debug specific module:
211
212
-```sh
212
+```bash
213
# become user netdata
214
sudo su -s /bin/bash netdata
215
+```
216
216
-# run plugin in debug mode
217
-./go.d.plugin -d -m <module name>
217
+Depending on where Netdata was installed, execute one of the following commands to trace the execution of a python module:
218
+
219
+```bash
220
+# execute the plugin in debug mode, for a specific module
221
+/opt/netdata/usr/libexec/netdata/plugins.d/go.d.plugin -d -m <module name>
222
+/usr/libexec/netdata/plugins.d/go.d.plugin -d -m <module name>
223
```
224
225
Change `<module name>` to the [module name](#available-modules) you want to debug.