Open kindermax opened 1 year ago
Sentry Saas (sentry.io)
1.35.0
Hi, in latest sentry-sdk release a new Client interceptor was added for grpc.aio client. The problems is that metadata is transformed into a list and it breaks all subsequent interceptors which expect metadata to be grpc.aio.Metadata object (https://github.com/grpc/grpc/blob/master/src/python/grpcio/grpc/aio/_interceptor.py#L93C14-L93C14)
grpc.aio
metadata
grpc.aio.Metadata
Maybe metadata needs to be preserved as type grpc.aio.Metadata
For now i see error that metadata is a list
Thank you for reporting this @kindermax! We'll take a look.
How do you use Sentry?
Sentry Saas (sentry.io)
Version
1.35.0
Steps to Reproduce
Hi, in latest sentry-sdk release a new Client interceptor was added for
grpc.aio
client. The problems is thatmetadata
is transformed into a list and it breaks all subsequent interceptors which expectmetadata
to begrpc.aio.Metadata
object (https://github.com/grpc/grpc/blob/master/src/python/grpcio/grpc/aio/_interceptor.py#L93C14-L93C14)Expected Result
Maybe metadata needs to be preserved as type
grpc.aio.Metadata
Actual Result
For now i see error that metadata is a list