Class GrpcTracing

  • All Implemented Interfaces:
    io.grpc.ServerInterceptor

    @Priority(1001)
    public class GrpcTracing
    extends Object
    implements io.grpc.ServerInterceptor
    A ServerInterceptor that adds tracing to gRPC service calls.
    • Method Detail

      • interceptCall

        public <ReqT,​RespT> io.grpc.ServerCall.Listener<ReqT> interceptCall​(io.grpc.ServerCall<ReqT,​RespT> call,
                                                                                  io.grpc.Metadata headers,
                                                                                  io.grpc.ServerCallHandler<ReqT,​RespT> next)
        Specified by:
        interceptCall in interface io.grpc.ServerInterceptor