From e3e67aac08d2cb2aad5717a42549b30922862ccf Mon Sep 17 00:00:00 2001 From: Koichi ITO Date: Mon, 25 Aug 2025 07:15:09 +0900 Subject: [PATCH] [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 --- README.md | 13 +++++++------ 1 file changed, 7 insertions(+), 6 deletions(-) diff --git a/README.md b/README.md index fbb2af2e..e6344e54 100644 --- a/README.md +++ b/README.md @@ -541,12 +541,13 @@ end ``` 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 -`prompt_name`: the name of the prompt called -`resource_uri`: the uri of the resource called -`error`: if looking up tools/prompts etc failed, e.g. `tool_not_found` -`duration`: the duration of the call in seconds + +- `method`: the method called, e.g. `ping`, `tools/list`, `tools/call` etc +- `tool_name`: the name of the tool called +- `prompt_name`: the name of the prompt called +- `resource_uri`: the uri of the resource called +- `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. This is to avoid potential issues with metric cardinality