diff --git a/go.mod b/go.mod index b60f1046f..2fbbebd67 100644 --- a/go.mod +++ b/go.mod @@ -118,6 +118,7 @@ require ( github.com/open-telemetry/opentelemetry-collector-contrib/pkg/resourcetotelemetry v0.91.0 // indirect github.com/open-telemetry/opentelemetry-collector-contrib/pkg/stanza v0.91.0 // indirect github.com/open-telemetry/opentelemetry-collector-contrib/pkg/translator/prometheusremotewrite v0.91.0 // indirect + github.com/open-telemetry/opentelemetry-collector-contrib/receiver/windowseventlogreceiver v0.91.0 // indirect github.com/openshift/api v3.9.0+incompatible // indirect github.com/openshift/client-go v0.0.0-20210521082421-73d9475a9142 // indirect github.com/ovh/go-ovh v1.4.3 // indirect diff --git a/go.sum b/go.sum index 7044dba85..280067050 100644 --- a/go.sum +++ b/go.sum @@ -800,6 +800,8 @@ github.com/open-telemetry/opentelemetry-collector-contrib/receiver/sqlqueryrecei github.com/open-telemetry/opentelemetry-collector-contrib/receiver/sqlqueryreceiver v0.91.0/go.mod h1:QaWk0MD1xZSoTiwBmkjgqgIYWWwhz+ae6xbOT9W1S/M= github.com/open-telemetry/opentelemetry-collector-contrib/receiver/sqlserverreceiver v0.91.0 h1:dmuciA/CJ8x/VbAD/xzMH0YX8UQqQg3WENF9rrHlPNM= github.com/open-telemetry/opentelemetry-collector-contrib/receiver/sqlserverreceiver v0.91.0/go.mod h1:kPzUURjUn0OonB415/aKWrfKhhyI4ryUph9w2/3sJ+g= +github.com/open-telemetry/opentelemetry-collector-contrib/receiver/windowseventlogreceiver v0.91.0 h1:ph4RcGR3Tbr/lhuRa545O2C7xfYz5LO9kk2ty2RMbkA= +github.com/open-telemetry/opentelemetry-collector-contrib/receiver/windowseventlogreceiver v0.91.0/go.mod h1:NsXobIhtIfADsB/ttNHCIZmqgNIoNcQdMjJSIvQ2aA4= github.com/open-telemetry/opentelemetry-collector-contrib/receiver/windowsperfcountersreceiver v0.91.0 h1:8HilmLdippKCLx6cC3r0SBLdJAYlhUYxbzIT4DmV4qE= github.com/open-telemetry/opentelemetry-collector-contrib/receiver/windowsperfcountersreceiver v0.91.0/go.mod h1:U0074Gq+SBrMVslWg1P9trkcgoukxHN4qwUPkKE8pE4= github.com/open-telemetry/opentelemetry-collector-contrib/receiver/zookeeperreceiver v0.91.0 h1:/NZM/EIvJ5/hq1n61gkxm9+mYa/xwWlwl4DLScXaJ6g= diff --git a/service/components.go b/service/components.go index 2dda43620..cf2e78a58 100644 --- a/service/components.go +++ b/service/components.go @@ -42,6 +42,7 @@ import ( "github.com/open-telemetry/opentelemetry-collector-contrib/receiver/saphanareceiver" "github.com/open-telemetry/opentelemetry-collector-contrib/receiver/sqlqueryreceiver" "github.com/open-telemetry/opentelemetry-collector-contrib/receiver/sqlserverreceiver" + "github.com/open-telemetry/opentelemetry-collector-contrib/receiver/windowseventlogreceiver" "github.com/open-telemetry/opentelemetry-collector-contrib/receiver/windowsperfcountersreceiver" "github.com/open-telemetry/opentelemetry-collector-contrib/receiver/zookeeperreceiver" "go.opentelemetry.io/collector/exporter" @@ -114,6 +115,7 @@ func components() (otelcol.Factories, error) { saphanareceiver.NewFactory(), sqlqueryreceiver.NewFactory(), filelogreceiver.NewFactory(), + windowseventlogreceiver.NewFactory(), } for _, rcv := range factories.Receivers { receivers = append(receivers, rcv)