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 brave.Tag<RpcResponse>
ERROR_CODE
This tags "rpc.error_code" as the value ofRpcResponse.errorCode()
.static brave.Tag<RpcRequest>
METHOD
This tags "rpc.method" as the value ofRpcRequest.method()
.static brave.Tag<RpcRequest>
SERVICE
This tags "rpc.service" as the value ofRpcRequest.service()
.
-
-
-
Field Detail
-
METHOD
public static final brave.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 brave.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 brave.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)
-
-