Uses of Class
brave.rpc.RpcRequest
-
-
Uses of RpcRequest in brave.rpc
Subclasses of RpcRequest in brave.rpc Modifier and Type Class Description classRpcClientRequestMarks an interface for use inRpcClientHandler.handleSend(RpcClientRequest).classRpcServerRequestMarks an interface for use inRpcServerHandler.handleReceive(RpcServerRequest).Fields in brave.rpc with type parameters of type RpcRequest Modifier and Type Field Description static Tag<RpcRequest>RpcTags. METHODThis tags "rpc.method" as the value ofmethod().static Tag<RpcRequest>RpcTags. SERVICEThis tags "rpc.service" as the value ofservice().Methods in brave.rpc with type parameters of type RpcRequest Modifier and Type Method Description static <Req extends RpcRequest>
Matcher<Req>RpcRequestMatchers. methodEquals(String method)Matcher for case-sensitive RPC method names, such as "Report" or "EXISTS"static <Req extends RpcRequest>
Matcher<Req>RpcRequestMatchers. serviceEquals(String service)Matcher for case-sensitive RPC service names, such as "grpc.health.v1.Health" or "scribe"Methods in brave.rpc that return RpcRequest Modifier and Type Method Description RpcRequestRpcResponse. request()The request that initiated this RPC response ornullif unknown.Methods in brave.rpc that return types with arguments of type RpcRequest Modifier and Type Method Description SamplerFunction<RpcRequest>RpcTracing. clientSampler()Returns an overriding sampling decision for a new trace.SamplerFunction<RpcRequest>RpcTracing. serverSampler()Returns an overriding sampling decision for a new trace.Methods in brave.rpc with parameters of type RpcRequest Modifier and Type Method Description voidRpcRequestParser.Default. parse(RpcRequest req, TraceContext context, SpanCustomizer span)voidRpcRequestParser. parse(RpcRequest request, TraceContext context, SpanCustomizer span)Implement to choose what data from the RPC request are parsed into the span representing it.BooleanRpcRuleSampler. trySample(RpcRequest request)Method parameters in brave.rpc with type arguments of type RpcRequest Modifier and Type Method Description RpcTracing.BuilderRpcTracing.Builder. clientSampler(SamplerFunction<RpcRequest> clientSampler)RpcTracing.BuilderRpcTracing.Builder. serverSampler(SamplerFunction<RpcRequest> serverSampler)
-