Skip to content
This repository was archived by the owner on Mar 27, 2024. It is now read-only.

Commit 0036acb

Browse files
authored
changes on broken links (#1478)
1 parent 3408909 commit 0036acb

1 file changed

Lines changed: 3 additions & 3 deletions

File tree

docs/how-to-write-a-module.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,7 @@ The steps are:
4343
developed collector. It will be placed into the `bin` directory (e.g `go.d.plugin/bin`)
4444
- Run it in the debug mode `bin/godplugin -d -m <MODULE_NAME>`. This will output the `STDOUT` of the collector, the same
4545
output that is sent to the Netdata Agent and is transformed into charts. You can read more about this collector API in
46-
our [documentation](https://github.com/netdata/netdata/blob/master/collectors/plugins.d/README.md#external-plugins-api).
46+
our [documentation](https://github.com/netdata/netdata/blob/master/src/collectors/plugins.d/README.md#external-plugins-api).
4747
- If you want to test the collector with the actual Netdata Agent, you need to replace the `go.d.plugin` binary that
4848
exists in the Netdata Agent installation directory with the one you just compiled. Once
4949
you [restart](https://github.com/netdata/netdata/blob/master/docs/configure/start-stop-restart.md) the Netdata Agent, it will detect and run
@@ -116,13 +116,13 @@ func (e *Example) Check() bool {
116116

117117
### Charts method
118118

119-
:exclamation: Netdata module produces [`charts`](https://github.com/netdata/netdata/blob/master/collectors/plugins.d/README.md#chart), not
119+
:exclamation: Netdata module produces [`charts`](https://github.com/netdata/netdata/blob/master/src/collectors/plugins.d/README.md#chart), not
120120
raw metrics.
121121

122122
Use [`agent/module`](https://github.com/netdata/go.d.plugin/blob/master/agent/module/charts.go) package to create them,
123123
it contains charts and dimensions structs.
124124

125-
- `Charts` returns the [charts](https://github.com/netdata/netdata/blob/master/collectors/plugins.d/README.md#chart) (`*module.Charts`).
125+
- `Charts` returns the [charts](https://github.com/netdata/netdata/blob/master/src/collectors/plugins.d/README.md#chart) (`*module.Charts`).
126126
- Called after `Check` and only if `Check` returned `true`.
127127
- If it returns `nil`, the job will be disabled
128128
- :warning: Make sure not to share returned value between module instances (jobs).

0 commit comments

Comments
 (0)