Skip to main content

RPC_RESPONSE_STATUS_CODE

Constant RPC_RESPONSE_STATUS_CODE 

pub const RPC_RESPONSE_STATUS_CODE: &'static str;
Available on crate features opentelemetry and semconv_experimental only.
Expand description

Status code of the RPC returned by the RPC server or generated by the client

§Notes

Usually it represents an error code, but may also represent partial success, warning, or differentiate between various types of successful outcomes. Semantic conventions for individual RPC frameworks SHOULD document what rpc.response.status_code means in the context of that system and which values are considered to represent errors.

§Examples

  • "OK"
  • "DEADLINE_EXCEEDED"
  • "-32602"