opentelemetry-python-contrib icon indicating copy to clipboard operation
opentelemetry-python-contrib copied to clipboard

Error with the latest grpc version (v1.63.0)

Open VamsiKrishna1211 opened this issue 1 year ago • 0 comments
trafficstars

Describe your environment When using the Otel grpc auto instrumentation, because of the implementation here in the opentelemetry-python-contrib the following error is thrown in the generated file <proto_package>_pb2_grpc.py file

TypeError: unary_unary() got an unexpected keyword argument '_registered_method'

Steps to reproduce Install the latest (v1.63.0) grpc python version, generate the files. use them in a grpc client

What is the expected behavior? There should be no error.

What is the actual behavior? An error is thrown.

Additional context Package versions used

opentelemetry-instrumentation-grpc=0.44b0
grpcio=1.63.0

VamsiKrishna1211 avatar Apr 30 '24 18:04 VamsiKrishna1211