Uses of Class
brave.rpc.RpcRequest
-
Uses of RpcRequest in brave.rpc
Subclasses of RpcRequest in brave.rpc Modifier and Type Class Description class
RpcClientRequest
Marks an interface for use inRpcClientHandler.handleSend(RpcClientRequest)
.class
RpcServerRequest
Marks 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. METHOD
This tags "rpc.method" as the value ofmethod()
.static Tag<RpcRequest>
RpcTags. SERVICE
This 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 RpcRequest
RpcResponse. request()
The request that initiated this RPC response ornull
if 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 void
RpcRequestParser.Default. parse(RpcRequest req, TraceContext context, SpanCustomizer span)
void
RpcRequestParser. parse(RpcRequest request, TraceContext context, SpanCustomizer span)
Implement to choose what data from the RPC request are parsed into the span representing it.Boolean
RpcRuleSampler. trySample(RpcRequest request)
Method parameters in brave.rpc with type arguments of type RpcRequest Modifier and Type Method Description RpcTracing.Builder
RpcTracing.Builder. clientSampler(SamplerFunction<RpcRequest> clientSampler)
RpcTracing.Builder
RpcTracing.Builder. serverSampler(SamplerFunction<RpcRequest> serverSampler)