Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
add trailing_metadata to _OpenTelemetryServicerContext
The trailing_metadata method was added to grpc._server.ServicerContext in gRPC v1.38.0, and we would like to use it with OpenTelemetry in our custom interceptors. Doing a hasattr check to maintain support for earlier versions of gRPC.
- Loading branch information