Skip to content

Commit

Permalink
[chore] add extension/remotetapextension to otelcontribcol (#29725)
Browse files Browse the repository at this point in the history
Adds the extension remotetapextension to cmd/otelcontribcol.
  • Loading branch information
atoulme authored Dec 11, 2023
1 parent ecdbe1e commit 609d562
Show file tree
Hide file tree
Showing 4 changed files with 14 additions and 0 deletions.
2 changes: 2 additions & 0 deletions cmd/otelcontribcol/builder-config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,7 @@ extensions:
- gomod: github.com/open-telemetry/opentelemetry-collector-contrib/extension/observer/dockerobserver v0.90.1
- gomod: github.com/open-telemetry/opentelemetry-collector-contrib/extension/oidcauthextension v0.90.1
- gomod: github.com/open-telemetry/opentelemetry-collector-contrib/extension/pprofextension v0.90.1
- gomod: github.com/open-telemetry/opentelemetry-collector-contrib/extension/remotetapextension v0.90.1
- gomod: github.com/open-telemetry/opentelemetry-collector-contrib/extension/sigv4authextension v0.90.1
- gomod: github.com/open-telemetry/opentelemetry-collector-contrib/extension/storage v0.90.1
import: github.com/open-telemetry/opentelemetry-collector-contrib/extension/storage/filestorage
Expand Down Expand Up @@ -428,3 +429,4 @@ replaces:
- github.com/open-telemetry/opentelemetry-collector-contrib/pkg/translator/azure => ../../pkg/translator/azure
- github.com/open-telemetry/opentelemetry-collector-contrib/pkg/translator/skywalking => ../../pkg/translator/skywalking
- github.com/open-telemetry/opentelemetry-collector-contrib/internal/collectd => ../../internal/collectd
- github.com/open-telemetry/opentelemetry-collector-contrib/extension/remotetapextension => ../../extension/remotetapextension
2 changes: 2 additions & 0 deletions cmd/otelcontribcol/components.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

7 changes: 7 additions & 0 deletions cmd/otelcontribcol/extensions_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,7 @@ import (
"github.com/open-telemetry/opentelemetry-collector-contrib/extension/observer/ecstaskobserver"
"github.com/open-telemetry/opentelemetry-collector-contrib/extension/observer/hostobserver"
"github.com/open-telemetry/opentelemetry-collector-contrib/extension/pprofextension"
"github.com/open-telemetry/opentelemetry-collector-contrib/extension/remotetapextension"
"github.com/open-telemetry/opentelemetry-collector-contrib/extension/sigv4authextension"
"github.com/open-telemetry/opentelemetry-collector-contrib/extension/storage/dbstorage"
"github.com/open-telemetry/opentelemetry-collector-contrib/extension/storage/filestorage"
Expand Down Expand Up @@ -213,6 +214,12 @@ func TestDefaultExtensions(t *testing.T) {
return extFactories["jaegerremotesampling"].CreateDefaultConfig().(*jaegerremotesampling.Config)
},
},
{
extension: "remotetap",
getConfigFn: func() component.Config {
return extFactories["remotetap"].CreateDefaultConfig().(*remotetapextension.Config)
},
},
}

extensionCount := 0
Expand Down
3 changes: 3 additions & 0 deletions cmd/otelcontribcol/go.mod
Original file line number Diff line number Diff line change
Expand Up @@ -72,6 +72,7 @@ require (
github.com/open-telemetry/opentelemetry-collector-contrib/extension/observer/k8sobserver v0.90.1
github.com/open-telemetry/opentelemetry-collector-contrib/extension/oidcauthextension v0.90.1
github.com/open-telemetry/opentelemetry-collector-contrib/extension/pprofextension v0.90.1
github.com/open-telemetry/opentelemetry-collector-contrib/extension/remotetapextension v0.90.1
github.com/open-telemetry/opentelemetry-collector-contrib/extension/sigv4authextension v0.90.1
github.com/open-telemetry/opentelemetry-collector-contrib/extension/storage v0.90.1
github.com/open-telemetry/opentelemetry-collector-contrib/internal/common v0.90.1
Expand Down Expand Up @@ -1161,3 +1162,5 @@ replace github.com/open-telemetry/opentelemetry-collector-contrib/pkg/translator
replace github.com/open-telemetry/opentelemetry-collector-contrib/pkg/translator/skywalking => ../../pkg/translator/skywalking

replace github.com/open-telemetry/opentelemetry-collector-contrib/internal/collectd => ../../internal/collectd

replace github.com/open-telemetry/opentelemetry-collector-contrib/extension/remotetapextension => ../../extension/remotetapextension

0 comments on commit 609d562

Please sign in to comment.