[Docs] Fix broken list rendering of Instrumentation in the README

This PR fixes the broken rendering of the following list:
https://github.com/modelcontextprotocol/ruby-sdk/tree/v0.2.0?tab=readme-ov-file#instrumentation
This commit is contained in:
Koichi ITO 2025-08-25 07:15:09 +09:00
commit e3e67aac08

View file

@ -541,12 +541,13 @@ end
``` ```
The data contains the following keys: The data contains the following keys:
`method`: the method called, e.g. `ping`, `tools/list`, `tools/call` etc
`tool_name`: the name of the tool called - `method`: the method called, e.g. `ping`, `tools/list`, `tools/call` etc
`prompt_name`: the name of the prompt called - `tool_name`: the name of the tool called
`resource_uri`: the uri of the resource called - `prompt_name`: the name of the prompt called
`error`: if looking up tools/prompts etc failed, e.g. `tool_not_found` - `resource_uri`: the uri of the resource called
`duration`: the duration of the call in seconds - `error`: if looking up tools/prompts etc failed, e.g. `tool_not_found`
- `duration`: the duration of the call in seconds
`tool_name`, `prompt_name` and `resource_uri` are only populated if a matching handler is registered. `tool_name`, `prompt_name` and `resource_uri` are only populated if a matching handler is registered.
This is to avoid potential issues with metric cardinality This is to avoid potential issues with metric cardinality