AutoConfigure SDK doesn't behave in the same way as the java agent regarding OTLP protocol #6796
Labels
blocked-v2
Issues we can't address until a v2, which is currently not planned
Bug
Something isn't working
Describe the bug
For an application using the java agent, we can publish metrics using OTLP exporter with the following configurations:
For another application, using the AutoConfigure SDK, we face the following error:
It seems to assume gRPC by default, which doesn't allow a path. We have had to explicitly set
OTEL_EXPORTER_OTLP_PROTOCOL=http/protobuf
for it to work fine.What did you expect to see?
I expected the same configuration to be needed if using the java agent or not.
What version and what artifacts are you using?
Artifacts: opentelemetry-api, opentelemetry-sdk-extension-autoconfigure, opentelemetry-exporter-otlp
Version: v1.42.1
How did you reference these artifacts? pom.xml with the Maven BOM
Environment
Compiler: 11
OS: CentOS Stream 8
The text was updated successfully, but these errors were encountered: