Package brave.rpc

Interface RpcResponseParser

All Known Implementing Classes:
RpcResponseParser.Default

public interface RpcResponseParser
Use this to control the response data recorded for an sampled RPC client or server span.

Here's an example that adds default tags, and if gRPC, the response encoding:

{@code
 Tag responseEncoding = new Tag("grpc.response_encoding") {
Since:
5.12
See Also:
RpcRequestParser