Package brave.rpc
Class RpcTags
- java.lang.Object
-
- brave.rpc.RpcTags
-
public final class RpcTags extends Object
Standard tags used in request and response parsers.- Since:
- 5.11
- See Also:
RpcRequestParser,RpcResponseParser
-
-
Field Summary
Fields Modifier and Type Field Description static Tag<RpcResponse>ERROR_CODEThis tags "rpc.error_code" as the value ofRpcResponse.errorCode().static Tag<RpcRequest>METHODThis tags "rpc.method" as the value ofRpcRequest.method().static Tag<RpcRequest>SERVICEThis tags "rpc.service" as the value ofRpcRequest.service().
-
-
-
Field Detail
-
METHOD
public static final Tag<RpcRequest> METHOD
This tags "rpc.method" as the value ofRpcRequest.method().- Since:
- 5.11
- See Also:
RpcRequest.method(),RpcRequestParser.parse(RpcRequest, TraceContext, SpanCustomizer)
-
SERVICE
public static final Tag<RpcRequest> SERVICE
This tags "rpc.service" as the value ofRpcRequest.service().- Since:
- 5.11
- See Also:
RpcRequest.service(),RpcRequestParser.parse(RpcRequest, TraceContext, SpanCustomizer)
-
ERROR_CODE
public static final Tag<RpcResponse> ERROR_CODE
This tags "rpc.error_code" as the value ofRpcResponse.errorCode().- Since:
- 5.11
- See Also:
RpcResponse.errorCode(),RpcResponseParser.parse(RpcResponse, TraceContext, SpanCustomizer)
-
-