Package brave.grpc
Interface GrpcRequest
-
- All Known Implementing Classes:
GrpcClientRequest
,GrpcServerRequest
public interface GrpcRequest
Allows 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 Tag
methodType = 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.Metadata
headers()
io.grpc.MethodDescriptor<?,?>
methodDescriptor()
-