Skip to content

Commit

Permalink
Add both receivers
Browse files Browse the repository at this point in the history
  • Loading branch information
atoulme committed Mar 9, 2024
1 parent 09587a0 commit 33bf02b
Show file tree
Hide file tree
Showing 4 changed files with 11 additions and 10 deletions.
6 changes: 3 additions & 3 deletions go.mod
Original file line number Diff line number Diff line change
Expand Up @@ -54,8 +54,8 @@ require (
github.com/open-telemetry/opentelemetry-collector-contrib/processor/spanprocessor v0.95.0
github.com/open-telemetry/opentelemetry-collector-contrib/processor/tailsamplingprocessor v0.95.0
github.com/open-telemetry/opentelemetry-collector-contrib/processor/transformprocessor v0.95.0
github.com/open-telemetry/opentelemetry-collector-contrib/receiver/awscontainerinsightreceiver v0.96.0
github.com/open-telemetry/opentelemetry-collector-contrib/receiver/awsecscontainermetricsreceiver v0.96.0
github.com/open-telemetry/opentelemetry-collector-contrib/receiver/awscontainerinsightreceiver v0.95.0
github.com/open-telemetry/opentelemetry-collector-contrib/receiver/awsecscontainermetricsreceiver v0.95.0
github.com/open-telemetry/opentelemetry-collector-contrib/receiver/azureeventhubreceiver v0.95.0
github.com/open-telemetry/opentelemetry-collector-contrib/receiver/carbonreceiver v0.95.0
github.com/open-telemetry/opentelemetry-collector-contrib/receiver/cloudfoundryreceiver v0.95.0
Expand Down Expand Up @@ -130,7 +130,7 @@ require (
go.opentelemetry.io/collector/processor v0.95.0
go.opentelemetry.io/collector/processor/batchprocessor v0.95.0
go.opentelemetry.io/collector/processor/memorylimiterprocessor v0.95.0
go.opentelemetry.io/collector/receiver v0.96.0
go.opentelemetry.io/collector/receiver v0.95.0
go.opentelemetry.io/collector/receiver/otlpreceiver v0.95.0
go.opentelemetry.io/otel/metric v1.24.0
go.opentelemetry.io/otel/trace v1.24.0
Expand Down
12 changes: 6 additions & 6 deletions go.sum
Original file line number Diff line number Diff line change
Expand Up @@ -1441,10 +1441,10 @@ github.com/open-telemetry/opentelemetry-collector-contrib/processor/tailsampling
github.com/open-telemetry/opentelemetry-collector-contrib/processor/tailsamplingprocessor v0.95.0/go.mod h1:v4h16CXdcagrb5i2yPRCQCvaZzN2TtzvYduvkvGOmgI=
github.com/open-telemetry/opentelemetry-collector-contrib/processor/transformprocessor v0.95.0 h1:l4PXmKaJTYLqeQCMQ9h6bKQ9NIWyCU/Vab9W1szCYGk=
github.com/open-telemetry/opentelemetry-collector-contrib/processor/transformprocessor v0.95.0/go.mod h1:LktjKIbPGqhEhLtfN8j/7H4kkZZKEwLxqtZEOqqLTvU=
github.com/open-telemetry/opentelemetry-collector-contrib/receiver/awscontainerinsightreceiver v0.96.0 h1:CryoKuNDuy2Izt/z76Dg8ykkMQomXEKlEoyiAg5Zhg8=
github.com/open-telemetry/opentelemetry-collector-contrib/receiver/awscontainerinsightreceiver v0.96.0/go.mod h1:q3OCUpGj8g8OYR7rM4/OyoL0U8NDA//p99NdB3A59bY=
github.com/open-telemetry/opentelemetry-collector-contrib/receiver/awsecscontainermetricsreceiver v0.96.0 h1:qsx7s3aWX05jjk224gPYCVgr6iMwa1nl/JtgIWZ864U=
github.com/open-telemetry/opentelemetry-collector-contrib/receiver/awsecscontainermetricsreceiver v0.96.0/go.mod h1:KU9QzMB4/+UtGF5BPSgB4CHm+y9sQIp46ojumIK9ev4=
github.com/open-telemetry/opentelemetry-collector-contrib/receiver/awscontainerinsightreceiver v0.95.0 h1:NWbJOHVUpcYXHkBNIsZ8bDHEPmMaa/tPV8iMaP0oVGc=
github.com/open-telemetry/opentelemetry-collector-contrib/receiver/awscontainerinsightreceiver v0.95.0/go.mod h1:Ixoy/jPVql07WeEB2WY45ZQDRBDm6srS8rP06O7ci/4=
github.com/open-telemetry/opentelemetry-collector-contrib/receiver/awsecscontainermetricsreceiver v0.95.0 h1:K2T5pUmhv4YIcjo2UZE/1k6Xhs6w00PABGsqzit/qcM=
github.com/open-telemetry/opentelemetry-collector-contrib/receiver/awsecscontainermetricsreceiver v0.95.0/go.mod h1:iOgqKZ+or1gB9U6N24IJr/klF73mZ26Ye6tEBHzpYBk=
github.com/open-telemetry/opentelemetry-collector-contrib/receiver/azureeventhubreceiver v0.95.0 h1:Fz0/BOo8teOfZOFcxbEbF363aYVwlvhuVEG0jbouxjo=
github.com/open-telemetry/opentelemetry-collector-contrib/receiver/azureeventhubreceiver v0.95.0/go.mod h1:xLvjaR00gYFyyiWjGqTrd8PBSlhxEGPrGxkvIkxx7LE=
github.com/open-telemetry/opentelemetry-collector-contrib/receiver/carbonreceiver v0.95.0 h1:Rt5DC/wfsfk/YPOizd5griG6UXV+bWI2gvKuQeygA6o=
Expand Down Expand Up @@ -1966,8 +1966,8 @@ go.opentelemetry.io/collector/processor/batchprocessor v0.95.0 h1:5yaGYWYCMOFnMS
go.opentelemetry.io/collector/processor/batchprocessor v0.95.0/go.mod h1:xl0tJEMClbBKhGfZoveJXHg7E1B11egmzjCYclZLtPQ=
go.opentelemetry.io/collector/processor/memorylimiterprocessor v0.95.0 h1:38AQRXLfIXKDcPpr6j/9vue7wPmWXYbUjY0IpslWnXA=
go.opentelemetry.io/collector/processor/memorylimiterprocessor v0.95.0/go.mod h1:DSchAbSEmtysPsHK/fxJd8JQpcA7eoffM4nlr2aZGoc=
go.opentelemetry.io/collector/receiver v0.96.0 h1:OrlcuyFCBQpbWNb2klzTdz1ZXMk0acRDh7fbaQtP4eo=
go.opentelemetry.io/collector/receiver v0.96.0/go.mod h1:fb5Vr2+tAkzB4qE6+lNaMsZwaeE8qZvG3IBdzK5hCRY=
go.opentelemetry.io/collector/receiver v0.95.0 h1:9gA8/ceXiYiPheGQUt+EmCEKTjkGpUdPkiG7iey3Md0=
go.opentelemetry.io/collector/receiver v0.95.0/go.mod h1:kQrMBxcrgZfmtvjVQa6jStYG7c2L1c8UiHe/JNb7M+E=
go.opentelemetry.io/collector/receiver/otlpreceiver v0.95.0 h1:xx7xxWyaIwKnmLiD05pIQt9S2sxFlnqy7I695MLCnOE=
go.opentelemetry.io/collector/receiver/otlpreceiver v0.95.0/go.mod h1:sDJlGfVSzsPrTKEF0qXvAU+MvZyKRE1Cm+QYxHalhOw=
go.opentelemetry.io/collector/semconv v0.96.0 h1:DrZy8BpzJDnN2zFxXRj6BhfGYxNlqpFHBqyuS9fVHRY=
Expand Down
2 changes: 1 addition & 1 deletion internal/components/components.go
Original file line number Diff line number Diff line change
Expand Up @@ -145,7 +145,7 @@ func Get() (otelcol.Factories, error) {

receivers, err := receiver.MakeFactoryMap(
awscontainerinsightreceiver.NewFactory(),
awsecscontainermetrics.NewFactory(),
awsecscontainermetricsreceiver.NewFactory(),
azureeventhubreceiver.NewFactory(),
carbonreceiver.NewFactory(),
cloudfoundryreceiver.NewFactory(),
Expand Down
1 change: 1 addition & 0 deletions internal/components/components_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -42,6 +42,7 @@ func TestDefaultComponents(t *testing.T) {
}
expectedReceivers := []component.Type{
"awscontainerinsights",
"awsecscontainermetrics",
"azureeventhub",
"carbon",
"cloudfoundry",
Expand Down

0 comments on commit 33bf02b

Please sign in to comment.