Merge pull request #115 from koic/tweak_list_of_instrumentation_in_the_readme

[Docs] Fix broken list rendering of Instrumentation in the README
This commit is contained in:
Koichi ITO 2025-08-25 15:25:29 +09:00 • committed by GitHub
commit f4228612a8
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -543,12 +543,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