JSONRPC
JSON-RPC Attributes
This document defines attributes for JSON-RPC.
Attributes:
| Key | Stability | Value Type | Description | Example Values |
|---|---|---|---|---|
jsonrpc.protocol.version | string | Protocol version, as specified in the jsonrpc property of the request and its corresponding response. | 2.0; 1.0 | |
jsonrpc.request.id | string | A 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.
Feedback
Was this page helpful?
Thank you. Your feedback is appreciated!
Please let us know how we can improve this page. Your feedback is appreciated!