diff options
Diffstat (limited to '')
-rw-r--r-- | src/go/plugin/go.d/modules/example/README.md (renamed from src/go/collectors/go.d.plugin/modules/example/README.md) | 4 | ||||
-rw-r--r-- | src/go/plugin/go.d/modules/example/charts.go (renamed from src/go/collectors/go.d.plugin/modules/example/charts.go) | 2 | ||||
-rw-r--r-- | src/go/plugin/go.d/modules/example/collect.go (renamed from src/go/collectors/go.d.plugin/modules/example/collect.go) | 2 | ||||
-rw-r--r-- | src/go/plugin/go.d/modules/example/config_schema.json (renamed from src/go/collectors/go.d.plugin/modules/example/config_schema.json) | 0 | ||||
-rw-r--r-- | src/go/plugin/go.d/modules/example/example.go (renamed from src/go/collectors/go.d.plugin/modules/example/example.go) | 2 | ||||
-rw-r--r-- | src/go/plugin/go.d/modules/example/example_test.go (renamed from src/go/collectors/go.d.plugin/modules/example/example_test.go) | 2 | ||||
-rw-r--r-- | src/go/plugin/go.d/modules/example/init.go (renamed from src/go/collectors/go.d.plugin/modules/example/init.go) | 2 | ||||
-rw-r--r-- | src/go/plugin/go.d/modules/example/testdata/config.json (renamed from src/go/collectors/go.d.plugin/modules/example/testdata/config.json) | 0 | ||||
-rw-r--r-- | src/go/plugin/go.d/modules/example/testdata/config.yaml (renamed from src/go/collectors/go.d.plugin/modules/example/testdata/config.yaml) | 0 |
9 files changed, 7 insertions, 7 deletions
diff --git a/src/go/collectors/go.d.plugin/modules/example/README.md b/src/go/plugin/go.d/modules/example/README.md index 01eb34eb5..934dfd108 100644 --- a/src/go/collectors/go.d.plugin/modules/example/README.md +++ b/src/go/plugin/go.d/modules/example/README.md @@ -27,7 +27,7 @@ sudo ./edit-config go.d/example.conf ``` Disabled by default. Should be explicitly enabled -in [go.d.conf](https://github.com/netdata/netdata/blob/master/src/go/collectors/go.d.plugin/config/go.d.conf). +in [go.d.conf](https://github.com/netdata/netdata/blob/master/src/go/plugin/go.d/config/go.d.conf). ```yaml # go.d.conf @@ -53,7 +53,7 @@ jobs: --- For all available options, see the Example -collector's [configuration file](https://github.com/netdata/netdata/blob/master/src/go/collectors/go.d.plugin/config/go.d/example.conf). +collector's [configuration file](https://github.com/netdata/netdata/blob/master/src/go/plugin/go.d/config/go.d/example.conf). ## Troubleshooting diff --git a/src/go/collectors/go.d.plugin/modules/example/charts.go b/src/go/plugin/go.d/modules/example/charts.go index d3973a99d..71ecafdb4 100644 --- a/src/go/collectors/go.d.plugin/modules/example/charts.go +++ b/src/go/plugin/go.d/modules/example/charts.go @@ -4,7 +4,7 @@ package example import ( "fmt" - "github.com/netdata/netdata/go/go.d.plugin/agent/module" + "github.com/netdata/netdata/go/plugins/plugin/go.d/agent/module" ) var chartTemplate = module.Chart{ diff --git a/src/go/collectors/go.d.plugin/modules/example/collect.go b/src/go/plugin/go.d/modules/example/collect.go index 588d605df..b72d3c252 100644 --- a/src/go/collectors/go.d.plugin/modules/example/collect.go +++ b/src/go/plugin/go.d/modules/example/collect.go @@ -5,7 +5,7 @@ package example import ( "fmt" - "github.com/netdata/netdata/go/go.d.plugin/agent/module" + "github.com/netdata/netdata/go/plugins/plugin/go.d/agent/module" ) func (e *Example) collect() (map[string]int64, error) { diff --git a/src/go/collectors/go.d.plugin/modules/example/config_schema.json b/src/go/plugin/go.d/modules/example/config_schema.json index 328773f6d..328773f6d 100644 --- a/src/go/collectors/go.d.plugin/modules/example/config_schema.json +++ b/src/go/plugin/go.d/modules/example/config_schema.json diff --git a/src/go/collectors/go.d.plugin/modules/example/example.go b/src/go/plugin/go.d/modules/example/example.go index 433bf1ff6..2ca0ad976 100644 --- a/src/go/collectors/go.d.plugin/modules/example/example.go +++ b/src/go/plugin/go.d/modules/example/example.go @@ -6,7 +6,7 @@ import ( _ "embed" "math/rand" - "github.com/netdata/netdata/go/go.d.plugin/agent/module" + "github.com/netdata/netdata/go/plugins/plugin/go.d/agent/module" ) //go:embed "config_schema.json" diff --git a/src/go/collectors/go.d.plugin/modules/example/example_test.go b/src/go/plugin/go.d/modules/example/example_test.go index 6fde9b649..26b3ec9c8 100644 --- a/src/go/collectors/go.d.plugin/modules/example/example_test.go +++ b/src/go/plugin/go.d/modules/example/example_test.go @@ -6,7 +6,7 @@ import ( "os" "testing" - "github.com/netdata/netdata/go/go.d.plugin/agent/module" + "github.com/netdata/netdata/go/plugins/plugin/go.d/agent/module" "github.com/stretchr/testify/assert" "github.com/stretchr/testify/require" diff --git a/src/go/collectors/go.d.plugin/modules/example/init.go b/src/go/plugin/go.d/modules/example/init.go index 6ee39ef4f..f159c4b53 100644 --- a/src/go/collectors/go.d.plugin/modules/example/init.go +++ b/src/go/plugin/go.d/modules/example/init.go @@ -4,7 +4,7 @@ package example import ( "errors" - "github.com/netdata/netdata/go/go.d.plugin/agent/module" + "github.com/netdata/netdata/go/plugins/plugin/go.d/agent/module" ) func (e *Example) validateConfig() error { diff --git a/src/go/collectors/go.d.plugin/modules/example/testdata/config.json b/src/go/plugin/go.d/modules/example/testdata/config.json index af06e85ac..af06e85ac 100644 --- a/src/go/collectors/go.d.plugin/modules/example/testdata/config.json +++ b/src/go/plugin/go.d/modules/example/testdata/config.json diff --git a/src/go/collectors/go.d.plugin/modules/example/testdata/config.yaml b/src/go/plugin/go.d/modules/example/testdata/config.yaml index a5f6556fd..a5f6556fd 100644 --- a/src/go/collectors/go.d.plugin/modules/example/testdata/config.yaml +++ b/src/go/plugin/go.d/modules/example/testdata/config.yaml |