open-telemetry / opentelemetry-go-contrib

Collection of extensions for OpenTelemetry-Go.
https://opentelemetry.io/
Apache License 2.0
1.22k stars 566 forks source link

protocol configuration for grpc is incorrect #6337

Closed codeboten closed 1 week ago

codeboten commented 1 week ago

Description

The otlp.protocol configuration for exporters currently checks if the protocol matches the string grpc/protobuf, it should be checking for grpc instead to match the specification https://github.com/open-telemetry/opentelemetry-specification/blob/main/specification/protocol/exporter.md#configuration-options