Closed jinjiaw closed 7 months ago
Pinging code owners:
See Adding Labels via Comments if you do not have permissions to add labels yourself.
- error decoding 'extensions': unknown type: "bearertokenauth" for id: "bearertokenauth" (valid values: [zpages memory_ballast health_check pprof])
You have to use the contrib distribution, or build your own distribution using ocb.
Component(s)
extension/bearertokenauth
What happened?
Description
Hi folks,
I am using
otel/opentelemetry-collector:0.95.0
and following https://github.com/open-telemetry/opentelemetry-collector-contrib/tree/main/extension/bearertokenauthextension to usebearertokenauth
as theauthenticator
forotlp/withauth
exporter. However, following error are emitted from opentelemetry-collector container log. I am not sure why i only got four valid extensions - [zpages memory_ballast health_check pprof]. Suppose everything (including my desired bearertokenauth) defined in https://github.com/open-telemetry/opentelemetry-collector-releases/blob/v0.95.0/distributions/otelcol-contrib/manifest.yaml should be on the valid values list?Steps to Reproduce
Expected Result
config with
bearertokenauth
extension should be allowed.Actual Result
opentelemetry-collector kept restarting with above mentioned error.
Collector version
0.95.0
Environment information
Environment
OS: Ubuntu 22.04 Compiler(if manually compiled): N/A
OpenTelemetry Collector configuration
Log output
Additional context
No response