[Performance issues] use grpc metadata FromOutgoingContext function #1031
Labels
area: instrumentation
Related to an instrumentation package
enhancement
New feature or request
instrumentation: otelgrpc
Background
grpc version 1.39 and 1.37
Package Link:
https://github.com/open-telemetry/opentelemetry-go-contrib/blob/main/instrumentation/google.golang.org/grpc/otelgrpc/interceptor.go
StreamClientInterceptor and UnaryClientInterceptor
Proposed Solution
The fromoutgoingcontext implementation in grpc versions 1.39 and 1.37 is different. In 1.37, it parses CTX using the join function. Whether the appendtooutgoingcontext function should be used in opentelemetry.
The text was updated successfully, but these errors were encountered: