summaryrefslogtreecommitdiffstats
path: root/src/go/collectors/go.d.plugin/modules/powerdns
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--src/go/plugin/go.d/modules/nginxvts/testdata/config.json (renamed from src/go/collectors/go.d.plugin/modules/powerdns/testdata/config.json)0
-rw-r--r--src/go/plugin/go.d/modules/nginxvts/testdata/config.yaml (renamed from src/go/collectors/go.d.plugin/modules/powerdns/testdata/config.yaml)0
-rw-r--r--src/go/plugin/go.d/modules/phpdaemon/testdata/config.json (renamed from src/go/collectors/go.d.plugin/modules/powerdns_recursor/testdata/config.json)0
-rw-r--r--src/go/plugin/go.d/modules/phpdaemon/testdata/config.yaml (renamed from src/go/collectors/go.d.plugin/modules/powerdns_recursor/testdata/config.yaml)0
l---------src/go/plugin/go.d/modules/powerdns/README.md (renamed from src/go/collectors/go.d.plugin/modules/powerdns/README.md)0
-rw-r--r--src/go/plugin/go.d/modules/powerdns/authoritativens.go (renamed from src/go/collectors/go.d.plugin/modules/powerdns/authoritativens.go)4
-rw-r--r--src/go/plugin/go.d/modules/powerdns/authoritativens_test.go (renamed from src/go/collectors/go.d.plugin/modules/powerdns/authoritativens_test.go)6
-rw-r--r--src/go/plugin/go.d/modules/powerdns/charts.go (renamed from src/go/collectors/go.d.plugin/modules/powerdns/charts.go)2
-rw-r--r--src/go/plugin/go.d/modules/powerdns/collect.go (renamed from src/go/collectors/go.d.plugin/modules/powerdns/collect.go)5
-rw-r--r--src/go/plugin/go.d/modules/powerdns/config_schema.json (renamed from src/go/collectors/go.d.plugin/modules/powerdns/config_schema.json)6
-rw-r--r--src/go/plugin/go.d/modules/powerdns/init.go (renamed from src/go/collectors/go.d.plugin/modules/powerdns/init.go)4
-rw-r--r--src/go/plugin/go.d/modules/powerdns/integrations/powerdns_authoritative_server.md (renamed from src/go/collectors/go.d.plugin/modules/powerdns/integrations/powerdns_authoritative_server.md)39
-rw-r--r--src/go/plugin/go.d/modules/powerdns/metadata.yaml (renamed from src/go/collectors/go.d.plugin/modules/powerdns/metadata.yaml)0
-rw-r--r--src/go/plugin/go.d/modules/powerdns/metrics.go (renamed from src/go/collectors/go.d.plugin/modules/powerdns/metrics.go)0
-rw-r--r--src/go/plugin/go.d/modules/powerdns/testdata/recursor/statistics.json (renamed from src/go/collectors/go.d.plugin/modules/powerdns/testdata/recursor/statistics.json)0
-rw-r--r--src/go/plugin/go.d/modules/powerdns/testdata/v4.3.0/statistics.json (renamed from src/go/collectors/go.d.plugin/modules/powerdns/testdata/v4.3.0/statistics.json)0
l---------src/go/plugin/go.d/modules/powerdns_recursor/README.md (renamed from src/go/collectors/go.d.plugin/modules/powerdns_recursor/README.md)0
-rw-r--r--src/go/plugin/go.d/modules/powerdns_recursor/charts.go (renamed from src/go/collectors/go.d.plugin/modules/powerdns_recursor/charts.go)2
-rw-r--r--src/go/plugin/go.d/modules/powerdns_recursor/collect.go (renamed from src/go/collectors/go.d.plugin/modules/powerdns_recursor/collect.go)5
-rw-r--r--src/go/plugin/go.d/modules/powerdns_recursor/config_schema.json (renamed from src/go/collectors/go.d.plugin/modules/powerdns_recursor/config_schema.json)6
-rw-r--r--src/go/plugin/go.d/modules/powerdns_recursor/init.go (renamed from src/go/collectors/go.d.plugin/modules/powerdns_recursor/init.go)4
-rw-r--r--src/go/plugin/go.d/modules/powerdns_recursor/integrations/powerdns_recursor.md (renamed from src/go/collectors/go.d.plugin/modules/powerdns_recursor/integrations/powerdns_recursor.md)39
-rw-r--r--src/go/plugin/go.d/modules/powerdns_recursor/metadata.yaml (renamed from src/go/collectors/go.d.plugin/modules/powerdns_recursor/metadata.yaml)0
-rw-r--r--src/go/plugin/go.d/modules/powerdns_recursor/metrics.go (renamed from src/go/collectors/go.d.plugin/modules/powerdns_recursor/metrics.go)0
-rw-r--r--src/go/plugin/go.d/modules/powerdns_recursor/recursor.go (renamed from src/go/collectors/go.d.plugin/modules/powerdns_recursor/recursor.go)4
-rw-r--r--src/go/plugin/go.d/modules/powerdns_recursor/recursor_test.go (renamed from src/go/collectors/go.d.plugin/modules/powerdns_recursor/recursor_test.go)6
-rw-r--r--src/go/plugin/go.d/modules/powerdns_recursor/testdata/authoritative/statistics.json (renamed from src/go/collectors/go.d.plugin/modules/powerdns_recursor/testdata/authoritative/statistics.json)0
-rw-r--r--src/go/plugin/go.d/modules/powerdns_recursor/testdata/v4.3.1/statistics.json (renamed from src/go/collectors/go.d.plugin/modules/powerdns_recursor/testdata/v4.3.1/statistics.json)0
28 files changed, 106 insertions, 26 deletions
diff --git a/src/go/collectors/go.d.plugin/modules/powerdns/testdata/config.json b/src/go/plugin/go.d/modules/nginxvts/testdata/config.json
index 984c3ed6e..984c3ed6e 100644
--- a/src/go/collectors/go.d.plugin/modules/powerdns/testdata/config.json
+++ b/src/go/plugin/go.d/modules/nginxvts/testdata/config.json
diff --git a/src/go/collectors/go.d.plugin/modules/powerdns/testdata/config.yaml b/src/go/plugin/go.d/modules/nginxvts/testdata/config.yaml
index 8558b61cc..8558b61cc 100644
--- a/src/go/collectors/go.d.plugin/modules/powerdns/testdata/config.yaml
+++ b/src/go/plugin/go.d/modules/nginxvts/testdata/config.yaml
diff --git a/src/go/collectors/go.d.plugin/modules/powerdns_recursor/testdata/config.json b/src/go/plugin/go.d/modules/phpdaemon/testdata/config.json
index 984c3ed6e..984c3ed6e 100644
--- a/src/go/collectors/go.d.plugin/modules/powerdns_recursor/testdata/config.json
+++ b/src/go/plugin/go.d/modules/phpdaemon/testdata/config.json
diff --git a/src/go/collectors/go.d.plugin/modules/powerdns_recursor/testdata/config.yaml b/src/go/plugin/go.d/modules/phpdaemon/testdata/config.yaml
index 8558b61cc..8558b61cc 100644
--- a/src/go/collectors/go.d.plugin/modules/powerdns_recursor/testdata/config.yaml
+++ b/src/go/plugin/go.d/modules/phpdaemon/testdata/config.yaml
diff --git a/src/go/collectors/go.d.plugin/modules/powerdns/README.md b/src/go/plugin/go.d/modules/powerdns/README.md
index 3e5989715..3e5989715 120000
--- a/src/go/collectors/go.d.plugin/modules/powerdns/README.md
+++ b/src/go/plugin/go.d/modules/powerdns/README.md
diff --git a/src/go/collectors/go.d.plugin/modules/powerdns/authoritativens.go b/src/go/plugin/go.d/modules/powerdns/authoritativens.go
index 55b5b8113..b9c02b86f 100644
--- a/src/go/collectors/go.d.plugin/modules/powerdns/authoritativens.go
+++ b/src/go/plugin/go.d/modules/powerdns/authoritativens.go
@@ -8,8 +8,8 @@ import (
"net/http"
"time"
- "github.com/netdata/netdata/go/go.d.plugin/agent/module"
- "github.com/netdata/netdata/go/go.d.plugin/pkg/web"
+ "github.com/netdata/netdata/go/plugins/plugin/go.d/agent/module"
+ "github.com/netdata/netdata/go/plugins/plugin/go.d/pkg/web"
)
//go:embed "config_schema.json"
diff --git a/src/go/collectors/go.d.plugin/modules/powerdns/authoritativens_test.go b/src/go/plugin/go.d/modules/powerdns/authoritativens_test.go
index ddf68467c..d506c9778 100644
--- a/src/go/collectors/go.d.plugin/modules/powerdns/authoritativens_test.go
+++ b/src/go/plugin/go.d/modules/powerdns/authoritativens_test.go
@@ -8,9 +8,9 @@ import (
"os"
"testing"
- "github.com/netdata/netdata/go/go.d.plugin/agent/module"
- "github.com/netdata/netdata/go/go.d.plugin/pkg/tlscfg"
- "github.com/netdata/netdata/go/go.d.plugin/pkg/web"
+ "github.com/netdata/netdata/go/plugins/plugin/go.d/agent/module"
+ "github.com/netdata/netdata/go/plugins/plugin/go.d/pkg/tlscfg"
+ "github.com/netdata/netdata/go/plugins/plugin/go.d/pkg/web"
"github.com/stretchr/testify/assert"
"github.com/stretchr/testify/require"
diff --git a/src/go/collectors/go.d.plugin/modules/powerdns/charts.go b/src/go/plugin/go.d/modules/powerdns/charts.go
index 119ca4a2e..331a94a21 100644
--- a/src/go/collectors/go.d.plugin/modules/powerdns/charts.go
+++ b/src/go/plugin/go.d/modules/powerdns/charts.go
@@ -2,7 +2,7 @@
package powerdns
-import "github.com/netdata/netdata/go/go.d.plugin/agent/module"
+import "github.com/netdata/netdata/go/plugins/plugin/go.d/agent/module"
var charts = module.Charts{
{
diff --git a/src/go/collectors/go.d.plugin/modules/powerdns/collect.go b/src/go/plugin/go.d/modules/powerdns/collect.go
index 359d41980..c2831e0f2 100644
--- a/src/go/collectors/go.d.plugin/modules/powerdns/collect.go
+++ b/src/go/plugin/go.d/modules/powerdns/collect.go
@@ -10,7 +10,7 @@ import (
"net/http"
"strconv"
- "github.com/netdata/netdata/go/go.d.plugin/pkg/web"
+ "github.com/netdata/netdata/go/plugins/plugin/go.d/pkg/web"
)
const (
@@ -65,8 +65,7 @@ func (ns *AuthoritativeNS) collectStatistics(collected map[string]int64, statist
}
func (ns *AuthoritativeNS) scrapeStatistics() ([]statisticMetric, error) {
- req, _ := web.NewHTTPRequest(ns.Request)
- req.URL.Path = urlPathLocalStatistics
+ req, _ := web.NewHTTPRequestWithPath(ns.Request, urlPathLocalStatistics)
var statistics statisticMetrics
if err := ns.doOKDecode(req, &statistics); err != nil {
diff --git a/src/go/collectors/go.d.plugin/modules/powerdns/config_schema.json b/src/go/plugin/go.d/modules/powerdns/config_schema.json
index 53c1c3137..2ec6565c1 100644
--- a/src/go/collectors/go.d.plugin/modules/powerdns/config_schema.json
+++ b/src/go/plugin/go.d/modules/powerdns/config_schema.json
@@ -167,6 +167,12 @@
"timeout": {
"ui:help": "Accepts decimals for precise control (e.g., type 1.5 for 1.5 seconds)."
},
+ "username": {
+ "ui:widget": "password"
+ },
+ "proxy_username": {
+ "ui:widget": "password"
+ },
"password": {
"ui:widget": "password"
},
diff --git a/src/go/collectors/go.d.plugin/modules/powerdns/init.go b/src/go/plugin/go.d/modules/powerdns/init.go
index 9190f7e41..0819459fe 100644
--- a/src/go/collectors/go.d.plugin/modules/powerdns/init.go
+++ b/src/go/plugin/go.d/modules/powerdns/init.go
@@ -6,8 +6,8 @@ import (
"errors"
"net/http"
- "github.com/netdata/netdata/go/go.d.plugin/agent/module"
- "github.com/netdata/netdata/go/go.d.plugin/pkg/web"
+ "github.com/netdata/netdata/go/plugins/plugin/go.d/agent/module"
+ "github.com/netdata/netdata/go/plugins/plugin/go.d/pkg/web"
)
func (ns *AuthoritativeNS) validateConfig() error {
diff --git a/src/go/collectors/go.d.plugin/modules/powerdns/integrations/powerdns_authoritative_server.md b/src/go/plugin/go.d/modules/powerdns/integrations/powerdns_authoritative_server.md
index f768dec50..b4060a613 100644
--- a/src/go/collectors/go.d.plugin/modules/powerdns/integrations/powerdns_authoritative_server.md
+++ b/src/go/plugin/go.d/modules/powerdns/integrations/powerdns_authoritative_server.md
@@ -1,6 +1,6 @@
<!--startmeta
-custom_edit_url: "https://github.com/netdata/netdata/edit/master/src/go/collectors/go.d.plugin/modules/powerdns/README.md"
-meta_yaml: "https://github.com/netdata/netdata/edit/master/src/go/collectors/go.d.plugin/modules/powerdns/metadata.yaml"
+custom_edit_url: "https://github.com/netdata/netdata/edit/master/src/go/plugin/go.d/modules/powerdns/README.md"
+meta_yaml: "https://github.com/netdata/netdata/edit/master/src/go/plugin/go.d/modules/powerdns/metadata.yaml"
sidebar_label: "PowerDNS Authoritative Server"
learn_status: "Published"
learn_rel_path: "Collecting Metrics/DNS and DHCP Servers"
@@ -198,6 +198,8 @@ jobs:
### Debug Mode
+**Important**: Debug mode is not supported for data collection jobs created via the UI using the Dyncfg feature.
+
To troubleshoot issues with the `powerdns` collector, run the `go.d.plugin` with the debug option enabled. The output
should give you clues as to why the collector isn't working.
@@ -220,4 +222,37 @@ should give you clues as to why the collector isn't working.
./go.d.plugin -d -m powerdns
```
+### Getting Logs
+
+If you're encountering problems with the `powerdns` collector, follow these steps to retrieve logs and identify potential issues:
+
+- **Run the command** specific to your system (systemd, non-systemd, or Docker container).
+- **Examine the output** for any warnings or error messages that might indicate issues. These messages should provide clues about the root cause of the problem.
+
+#### System with systemd
+
+Use the following command to view logs generated since the last Netdata service restart:
+
+```bash
+journalctl _SYSTEMD_INVOCATION_ID="$(systemctl show --value --property=InvocationID netdata)" --namespace=netdata --grep powerdns
+```
+
+#### System without systemd
+
+Locate the collector log file, typically at `/var/log/netdata/collector.log`, and use `grep` to filter for collector's name:
+
+```bash
+grep powerdns /var/log/netdata/collector.log
+```
+
+**Note**: This method shows logs from all restarts. Focus on the **latest entries** for troubleshooting current issues.
+
+#### Docker Container
+
+If your Netdata runs in a Docker container named "netdata" (replace if different), use this command:
+
+```bash
+docker logs netdata 2>&1 | grep powerdns
+```
+
diff --git a/src/go/collectors/go.d.plugin/modules/powerdns/metadata.yaml b/src/go/plugin/go.d/modules/powerdns/metadata.yaml
index ea4dec0b5..ea4dec0b5 100644
--- a/src/go/collectors/go.d.plugin/modules/powerdns/metadata.yaml
+++ b/src/go/plugin/go.d/modules/powerdns/metadata.yaml
diff --git a/src/go/collectors/go.d.plugin/modules/powerdns/metrics.go b/src/go/plugin/go.d/modules/powerdns/metrics.go
index 3efa2c980..3efa2c980 100644
--- a/src/go/collectors/go.d.plugin/modules/powerdns/metrics.go
+++ b/src/go/plugin/go.d/modules/powerdns/metrics.go
diff --git a/src/go/collectors/go.d.plugin/modules/powerdns/testdata/recursor/statistics.json b/src/go/plugin/go.d/modules/powerdns/testdata/recursor/statistics.json
index a31477959..a31477959 100644
--- a/src/go/collectors/go.d.plugin/modules/powerdns/testdata/recursor/statistics.json
+++ b/src/go/plugin/go.d/modules/powerdns/testdata/recursor/statistics.json
diff --git a/src/go/collectors/go.d.plugin/modules/powerdns/testdata/v4.3.0/statistics.json b/src/go/plugin/go.d/modules/powerdns/testdata/v4.3.0/statistics.json
index 30813d3d8..30813d3d8 100644
--- a/src/go/collectors/go.d.plugin/modules/powerdns/testdata/v4.3.0/statistics.json
+++ b/src/go/plugin/go.d/modules/powerdns/testdata/v4.3.0/statistics.json
diff --git a/src/go/collectors/go.d.plugin/modules/powerdns_recursor/README.md b/src/go/plugin/go.d/modules/powerdns_recursor/README.md
index 810e63308..810e63308 120000
--- a/src/go/collectors/go.d.plugin/modules/powerdns_recursor/README.md
+++ b/src/go/plugin/go.d/modules/powerdns_recursor/README.md
diff --git a/src/go/collectors/go.d.plugin/modules/powerdns_recursor/charts.go b/src/go/plugin/go.d/modules/powerdns_recursor/charts.go
index d0bd7c36e..ea63fd1c3 100644
--- a/src/go/collectors/go.d.plugin/modules/powerdns_recursor/charts.go
+++ b/src/go/plugin/go.d/modules/powerdns_recursor/charts.go
@@ -2,7 +2,7 @@
package powerdns_recursor
-import "github.com/netdata/netdata/go/go.d.plugin/agent/module"
+import "github.com/netdata/netdata/go/plugins/plugin/go.d/agent/module"
var charts = module.Charts{
{
diff --git a/src/go/collectors/go.d.plugin/modules/powerdns_recursor/collect.go b/src/go/plugin/go.d/modules/powerdns_recursor/collect.go
index ec2e99c90..784093ccf 100644
--- a/src/go/collectors/go.d.plugin/modules/powerdns_recursor/collect.go
+++ b/src/go/plugin/go.d/modules/powerdns_recursor/collect.go
@@ -10,7 +10,7 @@ import (
"net/http"
"strconv"
- "github.com/netdata/netdata/go/go.d.plugin/pkg/web"
+ "github.com/netdata/netdata/go/plugins/plugin/go.d/pkg/web"
)
const (
@@ -65,8 +65,7 @@ func (r *Recursor) collectStatistics(collected map[string]int64, statistics stat
}
func (r *Recursor) scrapeStatistics() ([]statisticMetric, error) {
- req, _ := web.NewHTTPRequest(r.Request)
- req.URL.Path = urlPathLocalStatistics
+ req, _ := web.NewHTTPRequestWithPath(r.Request, urlPathLocalStatistics)
var statistics statisticMetrics
if err := r.doOKDecode(req, &statistics); err != nil {
diff --git a/src/go/collectors/go.d.plugin/modules/powerdns_recursor/config_schema.json b/src/go/plugin/go.d/modules/powerdns_recursor/config_schema.json
index f175548ba..1b76938ce 100644
--- a/src/go/collectors/go.d.plugin/modules/powerdns_recursor/config_schema.json
+++ b/src/go/plugin/go.d/modules/powerdns_recursor/config_schema.json
@@ -167,6 +167,12 @@
"timeout": {
"ui:help": "Accepts decimals for precise control (e.g., type 1.5 for 1.5 seconds)."
},
+ "username": {
+ "ui:widget": "password"
+ },
+ "proxy_username": {
+ "ui:widget": "password"
+ },
"password": {
"ui:widget": "password"
},
diff --git a/src/go/collectors/go.d.plugin/modules/powerdns_recursor/init.go b/src/go/plugin/go.d/modules/powerdns_recursor/init.go
index d242950f5..cadc6d2c2 100644
--- a/src/go/collectors/go.d.plugin/modules/powerdns_recursor/init.go
+++ b/src/go/plugin/go.d/modules/powerdns_recursor/init.go
@@ -6,8 +6,8 @@ import (
"errors"
"net/http"
- "github.com/netdata/netdata/go/go.d.plugin/agent/module"
- "github.com/netdata/netdata/go/go.d.plugin/pkg/web"
+ "github.com/netdata/netdata/go/plugins/plugin/go.d/agent/module"
+ "github.com/netdata/netdata/go/plugins/plugin/go.d/pkg/web"
)
func (r *Recursor) validateConfig() error {
diff --git a/src/go/collectors/go.d.plugin/modules/powerdns_recursor/integrations/powerdns_recursor.md b/src/go/plugin/go.d/modules/powerdns_recursor/integrations/powerdns_recursor.md
index 4821aac5d..68a3da0a9 100644
--- a/src/go/collectors/go.d.plugin/modules/powerdns_recursor/integrations/powerdns_recursor.md
+++ b/src/go/plugin/go.d/modules/powerdns_recursor/integrations/powerdns_recursor.md
@@ -1,6 +1,6 @@
<!--startmeta
-custom_edit_url: "https://github.com/netdata/netdata/edit/master/src/go/collectors/go.d.plugin/modules/powerdns_recursor/README.md"
-meta_yaml: "https://github.com/netdata/netdata/edit/master/src/go/collectors/go.d.plugin/modules/powerdns_recursor/metadata.yaml"
+custom_edit_url: "https://github.com/netdata/netdata/edit/master/src/go/plugin/go.d/modules/powerdns_recursor/README.md"
+meta_yaml: "https://github.com/netdata/netdata/edit/master/src/go/plugin/go.d/modules/powerdns_recursor/metadata.yaml"
sidebar_label: "PowerDNS Recursor"
learn_status: "Published"
learn_rel_path: "Collecting Metrics/DNS and DHCP Servers"
@@ -201,6 +201,8 @@ jobs:
### Debug Mode
+**Important**: Debug mode is not supported for data collection jobs created via the UI using the Dyncfg feature.
+
To troubleshoot issues with the `powerdns_recursor` collector, run the `go.d.plugin` with the debug option enabled. The output
should give you clues as to why the collector isn't working.
@@ -223,4 +225,37 @@ should give you clues as to why the collector isn't working.
./go.d.plugin -d -m powerdns_recursor
```
+### Getting Logs
+
+If you're encountering problems with the `powerdns_recursor` collector, follow these steps to retrieve logs and identify potential issues:
+
+- **Run the command** specific to your system (systemd, non-systemd, or Docker container).
+- **Examine the output** for any warnings or error messages that might indicate issues. These messages should provide clues about the root cause of the problem.
+
+#### System with systemd
+
+Use the following command to view logs generated since the last Netdata service restart:
+
+```bash
+journalctl _SYSTEMD_INVOCATION_ID="$(systemctl show --value --property=InvocationID netdata)" --namespace=netdata --grep powerdns_recursor
+```
+
+#### System without systemd
+
+Locate the collector log file, typically at `/var/log/netdata/collector.log`, and use `grep` to filter for collector's name:
+
+```bash
+grep powerdns_recursor /var/log/netdata/collector.log
+```
+
+**Note**: This method shows logs from all restarts. Focus on the **latest entries** for troubleshooting current issues.
+
+#### Docker Container
+
+If your Netdata runs in a Docker container named "netdata" (replace if different), use this command:
+
+```bash
+docker logs netdata 2>&1 | grep powerdns_recursor
+```
+
diff --git a/src/go/collectors/go.d.plugin/modules/powerdns_recursor/metadata.yaml b/src/go/plugin/go.d/modules/powerdns_recursor/metadata.yaml
index 82cb99127..82cb99127 100644
--- a/src/go/collectors/go.d.plugin/modules/powerdns_recursor/metadata.yaml
+++ b/src/go/plugin/go.d/modules/powerdns_recursor/metadata.yaml
diff --git a/src/go/collectors/go.d.plugin/modules/powerdns_recursor/metrics.go b/src/go/plugin/go.d/modules/powerdns_recursor/metrics.go
index a7fbd63c1..a7fbd63c1 100644
--- a/src/go/collectors/go.d.plugin/modules/powerdns_recursor/metrics.go
+++ b/src/go/plugin/go.d/modules/powerdns_recursor/metrics.go
diff --git a/src/go/collectors/go.d.plugin/modules/powerdns_recursor/recursor.go b/src/go/plugin/go.d/modules/powerdns_recursor/recursor.go
index ec5d8da6d..4b9c3e72f 100644
--- a/src/go/collectors/go.d.plugin/modules/powerdns_recursor/recursor.go
+++ b/src/go/plugin/go.d/modules/powerdns_recursor/recursor.go
@@ -8,8 +8,8 @@ import (
"net/http"
"time"
- "github.com/netdata/netdata/go/go.d.plugin/agent/module"
- "github.com/netdata/netdata/go/go.d.plugin/pkg/web"
+ "github.com/netdata/netdata/go/plugins/plugin/go.d/agent/module"
+ "github.com/netdata/netdata/go/plugins/plugin/go.d/pkg/web"
)
//go:embed "config_schema.json"
diff --git a/src/go/collectors/go.d.plugin/modules/powerdns_recursor/recursor_test.go b/src/go/plugin/go.d/modules/powerdns_recursor/recursor_test.go
index f4ab0535f..09475e223 100644
--- a/src/go/collectors/go.d.plugin/modules/powerdns_recursor/recursor_test.go
+++ b/src/go/plugin/go.d/modules/powerdns_recursor/recursor_test.go
@@ -8,9 +8,9 @@ import (
"os"
"testing"
- "github.com/netdata/netdata/go/go.d.plugin/agent/module"
- "github.com/netdata/netdata/go/go.d.plugin/pkg/tlscfg"
- "github.com/netdata/netdata/go/go.d.plugin/pkg/web"
+ "github.com/netdata/netdata/go/plugins/plugin/go.d/agent/module"
+ "github.com/netdata/netdata/go/plugins/plugin/go.d/pkg/tlscfg"
+ "github.com/netdata/netdata/go/plugins/plugin/go.d/pkg/web"
"github.com/stretchr/testify/assert"
"github.com/stretchr/testify/require"
diff --git a/src/go/collectors/go.d.plugin/modules/powerdns_recursor/testdata/authoritative/statistics.json b/src/go/plugin/go.d/modules/powerdns_recursor/testdata/authoritative/statistics.json
index 72bb2f0a2..72bb2f0a2 100644
--- a/src/go/collectors/go.d.plugin/modules/powerdns_recursor/testdata/authoritative/statistics.json
+++ b/src/go/plugin/go.d/modules/powerdns_recursor/testdata/authoritative/statistics.json
diff --git a/src/go/collectors/go.d.plugin/modules/powerdns_recursor/testdata/v4.3.1/statistics.json b/src/go/plugin/go.d/modules/powerdns_recursor/testdata/v4.3.1/statistics.json
index a31477959..a31477959 100644
--- a/src/go/collectors/go.d.plugin/modules/powerdns_recursor/testdata/v4.3.1/statistics.json
+++ b/src/go/plugin/go.d/modules/powerdns_recursor/testdata/v4.3.1/statistics.json