diff options
Diffstat (limited to 'src/go/collectors/go.d.plugin/agent/discovery/sd')
24 files changed, 47 insertions, 47 deletions
diff --git a/src/go/collectors/go.d.plugin/agent/discovery/sd/hostsocket/net.go b/src/go/collectors/go.d.plugin/agent/discovery/sd/hostsocket/net.go index 18cc35b7dc..a1906c9225 100644 --- a/src/go/collectors/go.d.plugin/agent/discovery/sd/hostsocket/net.go +++ b/src/go/collectors/go.d.plugin/agent/discovery/sd/hostsocket/net.go @@ -15,8 +15,8 @@ import ( "strings" "time" - "github.com/netdata/go.d.plugin/agent/discovery/sd/model" - "github.com/netdata/go.d.plugin/logger" + "github.com/netdata/netdata/go/go.d.plugin/agent/discovery/sd/model" + "github.com/netdata/netdata/go/go.d.plugin/logger" "github.com/ilyam8/hashstructure" ) diff --git a/src/go/collectors/go.d.plugin/agent/discovery/sd/hostsocket/net_test.go b/src/go/collectors/go.d.plugin/agent/discovery/sd/hostsocket/net_test.go index 4ec8608755..8409a29cbf 100644 --- a/src/go/collectors/go.d.plugin/agent/discovery/sd/hostsocket/net_test.go +++ b/src/go/collectors/go.d.plugin/agent/discovery/sd/hostsocket/net_test.go @@ -7,7 +7,7 @@ import ( "errors" "testing" - "github.com/netdata/go.d.plugin/agent/discovery/sd/model" + "github.com/netdata/netdata/go/go.d.plugin/agent/discovery/sd/model" ) var ( diff --git a/src/go/collectors/go.d.plugin/agent/discovery/sd/hostsocket/sim_test.go b/src/go/collectors/go.d.plugin/agent/discovery/sd/hostsocket/sim_test.go index 998d9370c4..ebc1ace4d5 100644 --- a/src/go/collectors/go.d.plugin/agent/discovery/sd/hostsocket/sim_test.go +++ b/src/go/collectors/go.d.plugin/agent/discovery/sd/hostsocket/sim_test.go @@ -7,7 +7,7 @@ import ( "testing" "time" - "github.com/netdata/go.d.plugin/agent/discovery/sd/model" + "github.com/netdata/netdata/go/go.d.plugin/agent/discovery/sd/model" "github.com/stretchr/testify/assert" "github.com/stretchr/testify/require" diff --git a/src/go/collectors/go.d.plugin/agent/discovery/sd/kubernetes/kubernetes.go b/src/go/collectors/go.d.plugin/agent/discovery/sd/kubernetes/kubernetes.go index ba4f058515..926ed0c07f 100644 --- a/src/go/collectors/go.d.plugin/agent/discovery/sd/kubernetes/kubernetes.go +++ b/src/go/collectors/go.d.plugin/agent/discovery/sd/kubernetes/kubernetes.go @@ -11,9 +11,9 @@ import ( "sync" "time" - "github.com/netdata/go.d.plugin/agent/discovery/sd/model" - "github.com/netdata/go.d.plugin/logger" - "github.com/netdata/go.d.plugin/pkg/k8sclient" + "github.com/netdata/netdata/go/go.d.plugin/agent/discovery/sd/model" + "github.com/netdata/netdata/go/go.d.plugin/logger" + "github.com/netdata/netdata/go/go.d.plugin/pkg/k8sclient" "github.com/ilyam8/hashstructure" corev1 "k8s.io/api/core/v1" diff --git a/src/go/collectors/go.d.plugin/agent/discovery/sd/kubernetes/kubernetes_test.go b/src/go/collectors/go.d.plugin/agent/discovery/sd/kubernetes/kubernetes_test.go index dcaecb8feb..cd16a7b111 100644 --- a/src/go/collectors/go.d.plugin/agent/discovery/sd/kubernetes/kubernetes_test.go +++ b/src/go/collectors/go.d.plugin/agent/discovery/sd/kubernetes/kubernetes_test.go @@ -7,8 +7,8 @@ import ( "os" "testing" - "github.com/netdata/go.d.plugin/agent/discovery/sd/model" - "github.com/netdata/go.d.plugin/pkg/k8sclient" + "github.com/netdata/netdata/go/go.d.plugin/agent/discovery/sd/model" + "github.com/netdata/netdata/go/go.d.plugin/pkg/k8sclient" "github.com/stretchr/testify/assert" corev1 "k8s.io/api/core/v1" diff --git a/src/go/collectors/go.d.plugin/agent/discovery/sd/kubernetes/pod.go b/src/go/collectors/go.d.plugin/agent/discovery/sd/kubernetes/pod.go index a6391f7f6c..fb6d04c168 100644 --- a/src/go/collectors/go.d.plugin/agent/discovery/sd/kubernetes/pod.go +++ b/src/go/collectors/go.d.plugin/agent/discovery/sd/kubernetes/pod.go @@ -9,8 +9,8 @@ import ( "strconv" "strings" - "github.com/netdata/go.d.plugin/agent/discovery/sd/model" - "github.com/netdata/go.d.plugin/logger" + "github.com/netdata/netdata/go/go.d.plugin/agent/discovery/sd/model" + "github.com/netdata/netdata/go/go.d.plugin/logger" corev1 "k8s.io/api/core/v1" "k8s.io/client-go/tools/cache" diff --git a/src/go/collectors/go.d.plugin/agent/discovery/sd/kubernetes/pod_test.go b/src/go/collectors/go.d.plugin/agent/discovery/sd/kubernetes/pod_test.go index 87506243bc..985b2e33c2 100644 --- a/src/go/collectors/go.d.plugin/agent/discovery/sd/kubernetes/pod_test.go +++ b/src/go/collectors/go.d.plugin/agent/discovery/sd/kubernetes/pod_test.go @@ -9,7 +9,7 @@ import ( "testing" "time" - "github.com/netdata/go.d.plugin/agent/discovery/sd/model" + "github.com/netdata/netdata/go/go.d.plugin/agent/discovery/sd/model" "github.com/stretchr/testify/assert" corev1 "k8s.io/api/core/v1" diff --git a/src/go/collectors/go.d.plugin/agent/discovery/sd/kubernetes/service.go b/src/go/collectors/go.d.plugin/agent/discovery/sd/kubernetes/service.go index 975c5f84d8..a970a396f0 100644 --- a/src/go/collectors/go.d.plugin/agent/discovery/sd/kubernetes/service.go +++ b/src/go/collectors/go.d.plugin/agent/discovery/sd/kubernetes/service.go @@ -9,8 +9,8 @@ import ( "strconv" "strings" - "github.com/netdata/go.d.plugin/agent/discovery/sd/model" - "github.com/netdata/go.d.plugin/logger" + "github.com/netdata/netdata/go/go.d.plugin/agent/discovery/sd/model" + "github.com/netdata/netdata/go/go.d.plugin/logger" corev1 "k8s.io/api/core/v1" "k8s.io/client-go/tools/cache" diff --git a/src/go/collectors/go.d.plugin/agent/discovery/sd/kubernetes/service_test.go b/src/go/collectors/go.d.plugin/agent/discovery/sd/kubernetes/service_test.go index a62d66f099..f15db4cf66 100644 --- a/src/go/collectors/go.d.plugin/agent/discovery/sd/kubernetes/service_test.go +++ b/src/go/collectors/go.d.plugin/agent/discovery/sd/kubernetes/service_test.go @@ -9,7 +9,7 @@ import ( "testing" "time" - "github.com/netdata/go.d.plugin/agent/discovery/sd/model" + "github.com/netdata/netdata/go/go.d.plugin/agent/discovery/sd/model" "github.com/stretchr/testify/assert" corev1 "k8s.io/api/core/v1" diff --git a/src/go/collectors/go.d.plugin/agent/discovery/sd/kubernetes/sim_test.go b/src/go/collectors/go.d.plugin/agent/discovery/sd/kubernetes/sim_test.go index af66c549f3..1a46ece5f7 100644 --- a/src/go/collectors/go.d.plugin/agent/discovery/sd/kubernetes/sim_test.go +++ b/src/go/collectors/go.d.plugin/agent/discovery/sd/kubernetes/sim_test.go @@ -8,7 +8,7 @@ import ( "testing" "time" - "github.com/netdata/go.d.plugin/agent/discovery/sd/model" + "github.com/netdata/netdata/go/go.d.plugin/agent/discovery/sd/model" "github.com/stretchr/testify/assert" "github.com/stretchr/testify/require" diff --git a/src/go/collectors/go.d.plugin/agent/discovery/sd/pipeline/accumulator.go b/src/go/collectors/go.d.plugin/agent/discovery/sd/pipeline/accumulator.go index 5d52941061..e4ec6ce635 100644 --- a/src/go/collectors/go.d.plugin/agent/discovery/sd/pipeline/accumulator.go +++ b/src/go/collectors/go.d.plugin/agent/discovery/sd/pipeline/accumulator.go @@ -7,8 +7,8 @@ import ( "sync" "time" - "github.com/netdata/go.d.plugin/agent/discovery/sd/model" - "github.com/netdata/go.d.plugin/logger" + "github.com/netdata/netdata/go/go.d.plugin/agent/discovery/sd/model" + "github.com/netdata/netdata/go/go.d.plugin/logger" ) func newAccumulator() *accumulator { diff --git a/src/go/collectors/go.d.plugin/agent/discovery/sd/pipeline/classify.go b/src/go/collectors/go.d.plugin/agent/discovery/sd/pipeline/classify.go index 0d96331d3b..09f1a7affa 100644 --- a/src/go/collectors/go.d.plugin/agent/discovery/sd/pipeline/classify.go +++ b/src/go/collectors/go.d.plugin/agent/discovery/sd/pipeline/classify.go @@ -7,8 +7,8 @@ import ( "strings" "text/template" - "github.com/netdata/go.d.plugin/agent/discovery/sd/model" - "github.com/netdata/go.d.plugin/logger" + "github.com/netdata/netdata/go/go.d.plugin/agent/discovery/sd/model" + "github.com/netdata/netdata/go/go.d.plugin/logger" ) func newTargetClassificator(cfg []ClassifyRuleConfig) (*targetClassificator, error) { diff --git a/src/go/collectors/go.d.plugin/agent/discovery/sd/pipeline/classify_test.go b/src/go/collectors/go.d.plugin/agent/discovery/sd/pipeline/classify_test.go index 27ebc5e134..fc6f1e9d4f 100644 --- a/src/go/collectors/go.d.plugin/agent/discovery/sd/pipeline/classify_test.go +++ b/src/go/collectors/go.d.plugin/agent/discovery/sd/pipeline/classify_test.go @@ -5,7 +5,7 @@ package pipeline import ( "testing" - "github.com/netdata/go.d.plugin/agent/discovery/sd/model" + "github.com/netdata/netdata/go/go.d.plugin/agent/discovery/sd/model" "github.com/stretchr/testify/assert" "github.com/stretchr/testify/require" diff --git a/src/go/collectors/go.d.plugin/agent/discovery/sd/pipeline/compose.go b/src/go/collectors/go.d.plugin/agent/discovery/sd/pipeline/compose.go index ccb57956b0..e05e04ac4d 100644 --- a/src/go/collectors/go.d.plugin/agent/discovery/sd/pipeline/compose.go +++ b/src/go/collectors/go.d.plugin/agent/discovery/sd/pipeline/compose.go @@ -6,9 +6,9 @@ import ( "bytes" "text/template" - "github.com/netdata/go.d.plugin/agent/confgroup" - "github.com/netdata/go.d.plugin/agent/discovery/sd/model" - "github.com/netdata/go.d.plugin/logger" + "github.com/netdata/netdata/go/go.d.plugin/agent/confgroup" + "github.com/netdata/netdata/go/go.d.plugin/agent/discovery/sd/model" + "github.com/netdata/netdata/go/go.d.plugin/logger" "gopkg.in/yaml.v2" ) diff --git a/src/go/collectors/go.d.plugin/agent/discovery/sd/pipeline/compose_test.go b/src/go/collectors/go.d.plugin/agent/discovery/sd/pipeline/compose_test.go index 0db0c5fb6c..ccbb072bf7 100644 --- a/src/go/collectors/go.d.plugin/agent/discovery/sd/pipeline/compose_test.go +++ b/src/go/collectors/go.d.plugin/agent/discovery/sd/pipeline/compose_test.go @@ -5,8 +5,8 @@ package pipeline import ( "testing" - "github.com/netdata/go.d.plugin/agent/confgroup" - "github.com/netdata/go.d.plugin/agent/discovery/sd/model" + "github.com/netdata/netdata/go/go.d.plugin/agent/confgroup" + "github.com/netdata/netdata/go/go.d.plugin/agent/discovery/sd/model" "github.com/stretchr/testify/assert" "github.com/stretchr/testify/require" diff --git a/src/go/collectors/go.d.plugin/agent/discovery/sd/pipeline/config.go b/src/go/collectors/go.d.plugin/agent/discovery/sd/pipeline/config.go index faed30e362..51281c9fe0 100644 --- a/src/go/collectors/go.d.plugin/agent/discovery/sd/pipeline/config.go +++ b/src/go/collectors/go.d.plugin/agent/discovery/sd/pipeline/config.go @@ -5,9 +5,9 @@ package pipeline import ( "errors" "fmt" - "github.com/netdata/go.d.plugin/agent/discovery/sd/hostsocket" + "github.com/netdata/netdata/go/go.d.plugin/agent/discovery/sd/hostsocket" - "github.com/netdata/go.d.plugin/agent/discovery/sd/kubernetes" + "github.com/netdata/netdata/go/go.d.plugin/agent/discovery/sd/kubernetes" ) type Config struct { diff --git a/src/go/collectors/go.d.plugin/agent/discovery/sd/pipeline/pipeline.go b/src/go/collectors/go.d.plugin/agent/discovery/sd/pipeline/pipeline.go index 1a1eb69f94..c5b609c21e 100644 --- a/src/go/collectors/go.d.plugin/agent/discovery/sd/pipeline/pipeline.go +++ b/src/go/collectors/go.d.plugin/agent/discovery/sd/pipeline/pipeline.go @@ -7,11 +7,11 @@ import ( "log/slog" "time" - "github.com/netdata/go.d.plugin/agent/confgroup" - "github.com/netdata/go.d.plugin/agent/discovery/sd/hostsocket" - "github.com/netdata/go.d.plugin/agent/discovery/sd/kubernetes" - "github.com/netdata/go.d.plugin/agent/discovery/sd/model" - "github.com/netdata/go.d.plugin/logger" + "github.com/netdata/netdata/go/go.d.plugin/agent/confgroup" + "github.com/netdata/netdata/go/go.d.plugin/agent/discovery/sd/hostsocket" + "github.com/netdata/netdata/go/go.d.plugin/agent/discovery/sd/kubernetes" + "github.com/netdata/netdata/go/go.d.plugin/agent/discovery/sd/model" + "github.com/netdata/netdata/go/go.d.plugin/logger" ) func New(cfg Config) (*Pipeline, error) { diff --git a/src/go/collectors/go.d.plugin/agent/discovery/sd/pipeline/pipeline_test.go b/src/go/collectors/go.d.plugin/agent/discovery/sd/pipeline/pipeline_test.go index ae6c5991ae..1ff9bb5046 100644 --- a/src/go/collectors/go.d.plugin/agent/discovery/sd/pipeline/pipeline_test.go +++ b/src/go/collectors/go.d.plugin/agent/discovery/sd/pipeline/pipeline_test.go @@ -9,8 +9,8 @@ import ( "testing" "time" - "github.com/netdata/go.d.plugin/agent/confgroup" - "github.com/netdata/go.d.plugin/agent/discovery/sd/model" + "github.com/netdata/netdata/go/go.d.plugin/agent/confgroup" + "github.com/netdata/netdata/go/go.d.plugin/agent/discovery/sd/model" "github.com/ilyam8/hashstructure" "github.com/stretchr/testify/assert" diff --git a/src/go/collectors/go.d.plugin/agent/discovery/sd/pipeline/selector.go b/src/go/collectors/go.d.plugin/agent/discovery/sd/pipeline/selector.go index 99cd6a8a15..8bb5fb061c 100644 --- a/src/go/collectors/go.d.plugin/agent/discovery/sd/pipeline/selector.go +++ b/src/go/collectors/go.d.plugin/agent/discovery/sd/pipeline/selector.go @@ -7,7 +7,7 @@ import ( "fmt" "strings" - "github.com/netdata/go.d.plugin/agent/discovery/sd/model" + "github.com/netdata/netdata/go/go.d.plugin/agent/discovery/sd/model" ) type selector interface { diff --git a/src/go/collectors/go.d.plugin/agent/discovery/sd/pipeline/selector_test.go b/src/go/collectors/go.d.plugin/agent/discovery/sd/pipeline/selector_test.go index 986eef72cb..a4fcf30417 100644 --- a/src/go/collectors/go.d.plugin/agent/discovery/sd/pipeline/selector_test.go +++ b/src/go/collectors/go.d.plugin/agent/discovery/sd/pipeline/selector_test.go @@ -6,7 +6,7 @@ import ( "regexp" "testing" - "github.com/netdata/go.d.plugin/agent/discovery/sd/model" + "github.com/netdata/netdata/go/go.d.plugin/agent/discovery/sd/model" "github.com/stretchr/testify/assert" ) diff --git a/src/go/collectors/go.d.plugin/agent/discovery/sd/pipeline/sim_test.go b/src/go/collectors/go.d.plugin/agent/discovery/sd/pipeline/sim_test.go index eec7f417e9..7b80976a11 100644 --- a/src/go/collectors/go.d.plugin/agent/discovery/sd/pipeline/sim_test.go +++ b/src/go/collectors/go.d.plugin/agent/discovery/sd/pipeline/sim_test.go @@ -8,9 +8,9 @@ import ( "testing" "time" - "github.com/netdata/go.d.plugin/agent/confgroup" - "github.com/netdata/go.d.plugin/agent/discovery/sd/model" - "github.com/netdata/go.d.plugin/logger" + "github.com/netdata/netdata/go/go.d.plugin/agent/confgroup" + "github.com/netdata/netdata/go/go.d.plugin/agent/discovery/sd/model" + "github.com/netdata/netdata/go/go.d.plugin/logger" "github.com/stretchr/testify/assert" "github.com/stretchr/testify/require" diff --git a/src/go/collectors/go.d.plugin/agent/discovery/sd/sd.go b/src/go/collectors/go.d.plugin/agent/discovery/sd/sd.go index 7897a659df..05458801da 100644 --- a/src/go/collectors/go.d.plugin/agent/discovery/sd/sd.go +++ b/src/go/collectors/go.d.plugin/agent/discovery/sd/sd.go @@ -6,9 +6,9 @@ import ( "context" "sync" - "github.com/netdata/go.d.plugin/agent/confgroup" - "github.com/netdata/go.d.plugin/agent/discovery/sd/pipeline" - "github.com/netdata/go.d.plugin/logger" + "github.com/netdata/netdata/go/go.d.plugin/agent/confgroup" + "github.com/netdata/netdata/go/go.d.plugin/agent/discovery/sd/pipeline" + "github.com/netdata/netdata/go/go.d.plugin/logger" "gopkg.in/yaml.v2" ) diff --git a/src/go/collectors/go.d.plugin/agent/discovery/sd/sd_test.go b/src/go/collectors/go.d.plugin/agent/discovery/sd/sd_test.go index b67921e966..0525d7871c 100644 --- a/src/go/collectors/go.d.plugin/agent/discovery/sd/sd_test.go +++ b/src/go/collectors/go.d.plugin/agent/discovery/sd/sd_test.go @@ -5,7 +5,7 @@ package sd import ( "testing" - "github.com/netdata/go.d.plugin/agent/discovery/sd/pipeline" + "github.com/netdata/netdata/go/go.d.plugin/agent/discovery/sd/pipeline" "gopkg.in/yaml.v2" ) diff --git a/src/go/collectors/go.d.plugin/agent/discovery/sd/sim_test.go b/src/go/collectors/go.d.plugin/agent/discovery/sd/sim_test.go index 9ddb15e509..5526150ee0 100644 --- a/src/go/collectors/go.d.plugin/agent/discovery/sd/sim_test.go +++ b/src/go/collectors/go.d.plugin/agent/discovery/sd/sim_test.go @@ -9,9 +9,9 @@ import ( "testing" "time" - "github.com/netdata/go.d.plugin/agent/confgroup" - "github.com/netdata/go.d.plugin/agent/discovery/sd/pipeline" - "github.com/netdata/go.d.plugin/logger" + "github.com/netdata/netdata/go/go.d.plugin/agent/confgroup" + "github.com/netdata/netdata/go/go.d.plugin/agent/discovery/sd/pipeline" + "github.com/netdata/netdata/go/go.d.plugin/logger" "github.com/stretchr/testify/assert" ) |