semconv.com

jsonrpc.request.id

Developmentstringas of v1.44.0

A string representation of the id property of the request and its corresponding response.

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.

Examples

Used by

spans (4)

  • span.mcp.client
  • span.mcp.server
  • span.rpc.jsonrpc.call.client
  • span.rpc.jsonrpc.call.server

* required on that signal.

History

  1. v1.39.0

    Added as development.

Definition sourceRegistry docsJSON