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 26, 2024
1 parent ace1818 commit 7d31762
Show file tree
Hide file tree
Showing 4 changed files with 8 additions and 11 deletions.
5 changes: 2 additions & 3 deletions go.mod
Original file line number Diff line number Diff line change
Expand Up @@ -53,8 +53,8 @@ require (
github.com/open-telemetry/opentelemetry-collector-contrib/processor/spanprocessor v0.96.1-0.20240322214757-420bdba2c55e
github.com/open-telemetry/opentelemetry-collector-contrib/processor/tailsamplingprocessor v0.96.1-0.20240322214757-420bdba2c55e
github.com/open-telemetry/opentelemetry-collector-contrib/processor/transformprocessor v0.96.1-0.20240322214757-420bdba2c55e
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.96.1-0.20240322214757-420bdba2c55e
github.com/open-telemetry/opentelemetry-collector-contrib/receiver/awsecscontainermetricsreceiver v0.96.1-0.20240322214757-420bdba2c55e
github.com/open-telemetry/opentelemetry-collector-contrib/receiver/azureeventhubreceiver v0.96.1-0.20240322214757-420bdba2c55e
github.com/open-telemetry/opentelemetry-collector-contrib/receiver/carbonreceiver v0.96.1-0.20240322214757-420bdba2c55e
github.com/open-telemetry/opentelemetry-collector-contrib/receiver/cloudfoundryreceiver v0.96.1-0.20240322214757-420bdba2c55e
Expand Down Expand Up @@ -317,7 +317,6 @@ require (
go.opentelemetry.io/proto/otlp v1.1.0 // indirect
google.golang.org/genproto/googleapis/api v0.0.0-20240318140521-94a12d6c2237 // indirect
google.golang.org/genproto/googleapis/rpc v0.0.0-20240318140521-94a12d6c2237 // indirect
k8s.io/klog v1.0.0 // indirect
nhooyr.io/websocket v1.8.10 // indirect
sigs.k8s.io/controller-runtime v0.17.2 // indirect
)
Expand Down
11 changes: 4 additions & 7 deletions go.sum
Original file line number Diff line number Diff line change
Expand Up @@ -541,7 +541,6 @@ github.com/go-logfmt/logfmt v0.5.0/go.mod h1:wCYkCAKZfumFQihp8CzCvQ3paCTfi41vtzG
github.com/go-logfmt/logfmt v0.5.1/go.mod h1:WYhtIu8zTZfxdn5+rREduYbwxfcBr/Vr6KEVveWlfTs=
github.com/go-logfmt/logfmt v0.6.0 h1:wGYYu3uicYdqXVgoYbvnkrPVXkuLM1p1ifugDMEdRi4=
github.com/go-logfmt/logfmt v0.6.0/go.mod h1:WYhtIu8zTZfxdn5+rREduYbwxfcBr/Vr6KEVveWlfTs=
github.com/go-logr/logr v0.1.0/go.mod h1:ixOQHD9gLJUVQQ2ZOR7zLEifBX6tGkNJF4QyIY7sIas=
github.com/go-logr/logr v1.2.2/go.mod h1:jdQByPbusPIv2/zmleS9BjJVeZ6kBagPoEUsqbVz/1A=
github.com/go-logr/logr v1.4.1 h1:pKouT5E8xu9zeFC39JXRDukb6JFQPXM5p5I91188VAQ=
github.com/go-logr/logr v1.4.1/go.mod h1:9T104GzyrTigFIr8wt5mBrctHMim0Nb2HLGrmQ40KvY=
Expand Down Expand Up @@ -1442,10 +1441,10 @@ github.com/open-telemetry/opentelemetry-collector-contrib/processor/tailsampling
github.com/open-telemetry/opentelemetry-collector-contrib/processor/tailsamplingprocessor v0.96.1-0.20240322214757-420bdba2c55e/go.mod h1:ol78/8fIfD9bci/S3SL9uemjERRM0vZ3qDqli9cqbtk=
github.com/open-telemetry/opentelemetry-collector-contrib/processor/transformprocessor v0.96.1-0.20240322214757-420bdba2c55e h1:rrt7IaZzfp0/gJY95iVxaRvaNx12DmQQtKeJQ49kZb4=
github.com/open-telemetry/opentelemetry-collector-contrib/processor/transformprocessor v0.96.1-0.20240322214757-420bdba2c55e/go.mod h1:aPfo8ePYzyljqUVGLSoFS4llU3Ef48shYLz2Iu9+i3I=
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.96.1-0.20240322214757-420bdba2c55e h1:6ihicuqHV4XP5VwPzMwkKmFTRJhShz7C654RYtWlPRM=
github.com/open-telemetry/opentelemetry-collector-contrib/receiver/awscontainerinsightreceiver v0.96.1-0.20240322214757-420bdba2c55e/go.mod h1:awP7cczImu5JDICewmTBsgptj1XCs0gqjDbFylQzkK0=
github.com/open-telemetry/opentelemetry-collector-contrib/receiver/awsecscontainermetricsreceiver v0.96.1-0.20240322214757-420bdba2c55e h1:7dM3KVlEnGAgNHloYzETVgRGE+19HnqNxjLA2nnNA2E=
github.com/open-telemetry/opentelemetry-collector-contrib/receiver/awsecscontainermetricsreceiver v0.96.1-0.20240322214757-420bdba2c55e/go.mod h1:yZlH9J7qgSQeihCGbw2PLsQ8s1wvGUZZAtpMPUZw8OQ=
github.com/open-telemetry/opentelemetry-collector-contrib/receiver/azureeventhubreceiver v0.96.1-0.20240322214757-420bdba2c55e h1:3tIzKb0/nL+3E4899ecvUQjt43b9f7198RJRguZLU4I=
github.com/open-telemetry/opentelemetry-collector-contrib/receiver/azureeventhubreceiver v0.96.1-0.20240322214757-420bdba2c55e/go.mod h1:XK7pjmi5XR9VRG5FFPi8MRI/ZNebCQ0EIhr4dN9YLc8=
github.com/open-telemetry/opentelemetry-collector-contrib/receiver/carbonreceiver v0.96.1-0.20240322214757-420bdba2c55e h1:E5rKhzaD+txp2edPd7GU7oBEN3DJxoOzzG0PhtbVqkk=
Expand Down Expand Up @@ -2585,8 +2584,6 @@ k8s.io/apimachinery v0.29.3 h1:2tbx+5L7RNvqJjn7RIuIKu9XTsIZ9Z5wX2G22XAa5EU=
k8s.io/apimachinery v0.29.3/go.mod h1:hx/S4V2PNW4OMg3WizRrHutyB5la0iCUbZym+W0EQIU=
k8s.io/client-go v0.29.3 h1:R/zaZbEAxqComZ9FHeQwOh3Y1ZUs7FaHKZdQtIc2WZg=
k8s.io/client-go v0.29.3/go.mod h1:tkDisCvgPfiRpxGnOORfkljmS+UrW+WtXAy2fTvXJB0=
k8s.io/klog v1.0.0 h1:Pt+yjF5aB1xDSVbau4VsWe+dQNzA0qv1LlXdC2dF6Q8=
k8s.io/klog v1.0.0/go.mod h1:4Bi6QPql/J/LkTDqv7R/cd3hPo4k2DG6Ptcz060Ez5I=
k8s.io/klog/v2 v2.120.1 h1:QXU6cPEOIslTGvZaXvFWiP9VKyeet3sawzTOvdXb4Vw=
k8s.io/klog/v2 v2.120.1/go.mod h1:3Jpz1GvMt720eyJH1ckRHK1EDfpxISzJ7I9OYgaDtPE=
k8s.io/kube-openapi v0.0.0-20240228011516-70dd3763d340 h1:BZqlfIlq5YbRMFko6/PM7FjZpUb45WallggurYhKGag=
Expand Down
2 changes: 1 addition & 1 deletion internal/components/components.go
Original file line number Diff line number Diff line change
Expand Up @@ -144,7 +144,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 := []string{
"awscontainerinsights",
"awsecscontainermetrics",
"azureeventhub",
"carbon",
"cloudfoundry",
Expand Down

0 comments on commit 7d31762

Please sign in to comment.