You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I want to push basic auth header when pushing the traces and matrics to the tempo address so that is why I added the basicauth/client extension in opentelemetry but it throwing the below error.(using otel/opentelemetry-collector:0.87.0 version)
Error: failed to get config: cannot unmarshal the configuration: 1 error(s) decoding:
* error decoding 'extensions': unknown type: "basicauth" for id: "basicauth/client" (valid values: [zpages memory_ballast health_check pprof])
2024/01/02 10:34:19 collector server run finished with error: failed to get config: cannot unmarshal the configuration: 1 error(s) decoding:
* error decoding 'extensions': unknown type: "basicauth" for id: "basicauth/client" (valid values: [zpages memory_ballast health_check pprof])
The text was updated successfully, but these errors were encountered:
Hello @nikhil-ht-el, this is because you're using what is referred to as the core distribution OpenTelemetry Collector, not the contrib distribution. Note your image name: otel/opentelemetry-collector:0.87.0. If you use the contrib image, the extension will be included.
This image should work instead: otel/opentelemetry-collector-contrib:0.87.0
Please feel free to let us know if you have any more questions, happy to help! If you run into more issues with this extension please file a new issue. 👍
Component(s)
No response
Describe the issue you're reporting
here is my openetelemetry config file
I want to push basic auth header when pushing the traces and matrics to the tempo address so that is why I added the basicauth/client extension in opentelemetry but it throwing the below error.(using otel/opentelemetry-collector:0.87.0 version)
The text was updated successfully, but these errors were encountered: