opentelemetry_semantic_conventions::attribute

Constant RPC_JSONRPC_VERSION

source
pub const RPC_JSONRPC_VERSION: &str = "rpc.jsonrpc.version";
Expand description

Protocol version as in jsonrpc property of request/response. Since JSON-RPC 1.0 doesn’t specify this, the value can be omitted.

§Examples

  • "2.0"
  • "1.0"