Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add bearertokenauth extension from contrib #5727

Merged
merged 3 commits into from
Dec 18, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,7 @@

- (Splunk) Add `filestats` receiver ([#5229](https://github.com/signalfx/splunk-otel-collector/pull/5229))
- (Splunk) Add `iis` receiver ([#5717](https://github.com/signalfx/splunk-otel-collector/pull/5717))
- (Splunk) Add `bearertokenauth` extension ([#5727](https://github.com/signalfx/splunk-otel-collector/pull/5727))

### 💡 Enhancements 💡

Expand Down
1 change: 1 addition & 0 deletions docs/components.md
Original file line number Diff line number Diff line change
Expand Up @@ -133,6 +133,7 @@ The distribution offers support for the following components.
|:------------------------------------------------------------------------------------------------------------------------------------| :-------- |
| [ack](https://github.com/open-telemetry/opentelemetry-collector-contrib/tree/main/extension/ackextension) | [alpha] |
| [basicauth](https://github.com/open-telemetry/opentelemetry-collector-contrib/tree/main/extension/basicauthextension) | [beta] |
| [bearertokenauth](https://github.com/open-telemetry/opentelemetry-collector-contrib/tree/main/extension/bearertokenauthextension) | [beta] |
| [docker_observer](https://github.com/open-telemetry/opentelemetry-collector-contrib/tree/main/extension/observer/dockerobserver) | [beta] |
| [ecs_observer](https://github.com/open-telemetry/opentelemetry-collector-contrib/tree/main/extension/observer/ecsobserver) | [beta] |
| [ecs_task_observer](https://github.com/open-telemetry/opentelemetry-collector-contrib/tree/main/extension/observer/ecstaskobserver) | [beta] |
Expand Down
1 change: 1 addition & 0 deletions go.mod
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,7 @@ require (
github.com/open-telemetry/opentelemetry-collector-contrib/exporter/splunkhecexporter v0.115.0
github.com/open-telemetry/opentelemetry-collector-contrib/extension/ackextension v0.115.0
github.com/open-telemetry/opentelemetry-collector-contrib/extension/basicauthextension v0.115.0
github.com/open-telemetry/opentelemetry-collector-contrib/extension/bearertokenauthextension v0.115.0
github.com/open-telemetry/opentelemetry-collector-contrib/extension/headerssetterextension v0.115.0
github.com/open-telemetry/opentelemetry-collector-contrib/extension/healthcheckextension v0.115.0
github.com/open-telemetry/opentelemetry-collector-contrib/extension/httpforwarderextension v0.115.0
Expand Down
2 changes: 2 additions & 0 deletions go.sum
Original file line number Diff line number Diff line change
Expand Up @@ -1259,6 +1259,8 @@ github.com/open-telemetry/opentelemetry-collector-contrib/extension/ackextension
github.com/open-telemetry/opentelemetry-collector-contrib/extension/ackextension v0.115.0/go.mod h1:LS2OD4qu4tfBS2sU8BN/Rxb944z3fDmDtSw1tDcymxA=
github.com/open-telemetry/opentelemetry-collector-contrib/extension/basicauthextension v0.115.0 h1:Ca4KlGVCnNIHKLr3vOD28NdjLMszwCGuxVWe8RH1O7w=
github.com/open-telemetry/opentelemetry-collector-contrib/extension/basicauthextension v0.115.0/go.mod h1:DSuAfoMPeMnZGG+pJfQDcwRSBy8+pEXfzen//N/aehw=
github.com/open-telemetry/opentelemetry-collector-contrib/extension/bearertokenauthextension v0.115.0 h1:9qEAc1tkfdRttytUV6QgbkQwXelbnBDbc9i4HaNnCkI=
github.com/open-telemetry/opentelemetry-collector-contrib/extension/bearertokenauthextension v0.115.0/go.mod h1:JwvCxXNRg6eEDFoL1T0pOdbdpQRrY7PP0qOQIkkcaVg=
github.com/open-telemetry/opentelemetry-collector-contrib/extension/encoding v0.115.0 h1:cmSOl8dexYz8/ZQGSYyGmeNgo3bxxDFuWQQ+XazbmL8=
github.com/open-telemetry/opentelemetry-collector-contrib/extension/encoding v0.115.0/go.mod h1:qP0oNxkFOJqFZY6uGFJarhWziI+aqsov/0IRJkL85vg=
github.com/open-telemetry/opentelemetry-collector-contrib/extension/encoding/otlpencodingextension v0.115.0 h1:OmwyS3i+UFENIQizvmeC9kBtT1Rdchbeo0Ksl8ZNcGQ=
Expand Down
2 changes: 2 additions & 0 deletions internal/components/components.go
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,7 @@ import (
"github.com/open-telemetry/opentelemetry-collector-contrib/exporter/splunkhecexporter"
"github.com/open-telemetry/opentelemetry-collector-contrib/extension/ackextension"
"github.com/open-telemetry/opentelemetry-collector-contrib/extension/basicauthextension"
"github.com/open-telemetry/opentelemetry-collector-contrib/extension/bearertokenauthextension"
"github.com/open-telemetry/opentelemetry-collector-contrib/extension/headerssetterextension"
"github.com/open-telemetry/opentelemetry-collector-contrib/extension/healthcheckextension"
"github.com/open-telemetry/opentelemetry-collector-contrib/extension/httpforwarderextension"
Expand Down Expand Up @@ -145,6 +146,7 @@ func Get() (otelcol.Factories, error) {
extensions, err := extension.MakeFactoryMap(
ackextension.NewFactory(),
basicauthextension.NewFactory(),
bearertokenauthextension.NewFactory(),
dockerobserver.NewFactory(),
ecsobserver.NewFactory(),
ecstaskobserver.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 @@ -28,6 +28,7 @@ func TestDefaultComponents(t *testing.T) {
expectedExtensions := []string{
"ack",
"basicauth",
"bearertokenauth",
"docker_observer",
"ecs_observer",
"ecs_task_observer",
Expand Down
Loading