Package brave.grpc
Interface GrpcRequest
-
- All Known Implementing Classes:
GrpcClientRequest,GrpcServerRequest
public interface GrpcRequestAllows access gRPC specific aspects of a client or server request during sampling and parsing.Here's an example that adds default tags, and if gRPC, the method type:
{@code TagmethodType = new Tag ("grpc.method_type") { - Since:
- 5.12
- See Also:
GrpcResponse,GrpcClientRequest,GrpcServerRequest,RpcTracing.clientRequestParser(),RpcTracing.serverRequestParser()
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description io.grpc.Metadataheaders()io.grpc.MethodDescriptor<?,?>methodDescriptor()
-