Package brave.grpc
Class GrpcServerParser
java.lang.Object
brave.grpc.GrpcParser
brave.grpc.GrpcServerParser
public class GrpcServerParser extends GrpcParser
-
Constructor Summary
Constructors Constructor Description GrpcServerParser()
-
Method Summary
Modifier and Type Method Description protected <ReqT, RespT>
voidonStart(io.grpc.ServerCall<ReqT,RespT> call, io.grpc.Metadata headers, SpanCustomizer span)
Override the customize the span based on the start of a request.Methods inherited from class brave.grpc.GrpcParser
errorParser, onClose, onMessageReceived, onMessageSent, spanName
-
Constructor Details
-
GrpcServerParser
public GrpcServerParser()
-
-
Method Details
-
onStart
protected <ReqT, RespT> void onStart(io.grpc.ServerCall<ReqT,RespT> call, io.grpc.Metadata headers, SpanCustomizer span)Override the customize the span based on the start of a request.
-