Uses of Package
brave.rpc
-
Classes in brave.rpc used by brave.rpc Class Description RpcClientHandler This standardizes a way to instrument RPC clients, particularly in a way that encourages use of portable customizations viaRpcRequestParser
andRpcResponseParser
.RpcClientRequest Marks an interface for use inhandleSend(RpcClientRequest)
.RpcClientResponse Marks an interface for use inhandleReceive(RpcClientResponse, Span)
.RpcRequest Abstract request type used for parsing and sampling of RPC clients and servers.RpcRequestParser Use this to control the request data recorded for ansampled RPC client or server span
.RpcResponse Abstract response type used for parsing and sampling of RPC clients and servers.RpcResponseParser Use this to control the response data recorded for ansampled RPC client or server span
.RpcRuleSampler Assigns sample rates to RPC requests.RpcRuleSampler.Builder RpcServerHandler This standardizes a way to instrument RPC servers, particularly in a way that encourages use of portable customizations viaRpcRequestParser
andRpcResponseParser
.RpcServerRequest Marks an interface for use inRpcServerHandler.handleReceive(RpcServerRequest)
.RpcServerResponse Marks an interface for use inRpcServerHandler.handleSend(RpcServerResponse, Span)
.RpcTracing Instances built viaRpcTracing.create(Tracing)
orRpcTracing.newBuilder(Tracing)
are registered automatically such that statically configured instrumentation like RPC clients can useRpcTracing.current()
.RpcTracing.Builder RpcTracingCustomizer This allows configuration plugins to collaborate on building an instance ofRpcTracing
.