JSONRPC

JSON-RPC Attributes

This document defines attributes for JSON-RPC.

Attributes:

KeyStabilityValue TypeDescriptionExample Values
jsonrpc.protocol.versionDevelopmentstringProtocol version, as specified in the jsonrpc property of the request and its corresponding response.2.0; 1.0
jsonrpc.request.idDevelopmentstringA string representation of the id property of the request and its corresponding response. [1]10; request-7

[1] jsonrpc.request.id: Under the JSON-RPC specification, the id property may be a string, number, null, or omitted entirely. When omitted, the request is treated as a notification. Using null is not equivalent to omitting the id, but it is discouraged. Instrumentations SHOULD NOT capture this attribute when the id is null or omitted.