diff --git a/cmd/otelcontribcol/components.go b/cmd/otelcontribcol/components.go index af2621c7a045..7c371b2dde75 100644 --- a/cmd/otelcontribcol/components.go +++ b/cmd/otelcontribcol/components.go @@ -62,6 +62,7 @@ import ( "github.com/open-telemetry/opentelemetry-collector-contrib/receiver/splunkhecreceiver" "github.com/open-telemetry/opentelemetry-collector-contrib/receiver/statsdreceiver" "github.com/open-telemetry/opentelemetry-collector-contrib/receiver/wavefrontreceiver" + "github.com/open-telemetry/opentelemetry-collector-contrib/receiver/zookeeperreceiver" ) func components() (component.Factories, error) { @@ -103,6 +104,7 @@ func components() (component.Factories, error) { splunkhecreceiver.NewFactory(), statsdreceiver.NewFactory(), wavefrontreceiver.NewFactory(), + zookeeperreceiver.NewFactory(), } receivers = append(receivers, extraReceivers()...) diff --git a/go.mod b/go.mod index 1440ca82c691..d52fd80f8384 100644 --- a/go.mod +++ b/go.mod @@ -52,6 +52,7 @@ require ( github.com/open-telemetry/opentelemetry-collector-contrib/receiver/stanzareceiver v0.0.0-00010101000000-000000000000 github.com/open-telemetry/opentelemetry-collector-contrib/receiver/statsdreceiver v0.0.0-00010101000000-000000000000 github.com/open-telemetry/opentelemetry-collector-contrib/receiver/wavefrontreceiver v0.0.0-00010101000000-000000000000 + github.com/open-telemetry/opentelemetry-collector-contrib/receiver/zookeeperreceiver v0.0.0-00010101000000-000000000000 github.com/pavius/impi v0.0.3 github.com/shirou/gopsutil v3.20.10+incompatible // indirect github.com/stretchr/testify v1.6.1 @@ -154,6 +155,8 @@ replace github.com/open-telemetry/opentelemetry-collector-contrib/receiver/windo replace github.com/open-telemetry/opentelemetry-collector-contrib/receiver/jmxreceiver => ./receiver/jmxreceiver +replace github.com/open-telemetry/opentelemetry-collector-contrib/receiver/zookeeperreceiver => ./receiver/zookeeperreceiver + replace github.com/open-telemetry/opentelemetry-collector-contrib/pkg/batchpertrace => ./pkg/batchpertrace replace github.com/open-telemetry/opentelemetry-collector-contrib/processor/groupbytraceprocessor => ./processor/groupbytraceprocessor