Jsonrpc Attributes

2 attributes in this category.2 stable

2 attributes

Stable Attributes

jsonrpc.protocol.version

stringScrub: ManualVisibility: PublicOTel: True

The version of the JSON-RPC protocol used.

Example2.0
Changelog
v0.12.0#420Added jsonrpc.protocol.version attribute
Raw JSON
{
  "key": "jsonrpc.protocol.version",
  "brief": "The version of the JSON-RPC protocol used.",
  "type": "string",
  "apply_scrubbing": {
    "key": "manual"
  },
  "is_in_otel": true,
  "visibility": "public",
  "example": "2.0",
  "changelog": [
    {
      "version": "0.12.0",
      "prs": [
        420
      ],
      "description": "Added jsonrpc.protocol.version attribute"
    }
  ]
}

jsonrpc.request.id

stringScrub: ManualVisibility: PublicOTel: True

The JSON-RPC request identifier, used to correlate a request with its response.

Examples1
Changelog
v0.27.0#671Removed the session-scoped uniqueness requirement from the request identifier
v0.12.0#420Added jsonrpc.request.id attribute
Raw JSON
{
  "key": "jsonrpc.request.id",
  "brief": "The JSON-RPC request identifier, used to correlate a request with its response.",
  "type": "string",
  "apply_scrubbing": {
    "key": "manual"
  },
  "is_in_otel": true,
  "visibility": "public",
  "examples": [
    "1"
  ],
  "alias": [
    "mcp.request.id"
  ],
  "changelog": [
    {
      "version": "0.27.0",
      "prs": [
        671
      ],
      "description": "Removed the session-scoped uniqueness requirement from the request identifier"
    },
    {
      "version": "0.12.0",
      "prs": [
        420
      ],
      "description": "Added jsonrpc.request.id attribute"
    }
  ]
}