get_metrics
Retrieve server observability metrics as JSON. Choose summary, slow query history, or all categories to monitor performance and diagnose slow queries.
Instructions
Get server observability metrics. category=summary|slow_queries|all. Returns JSON.
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "get_metrics"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| category | No | 返回的指标类别: summary(计数+直方图) / slow_queries(慢查询历史) / all(全部) | summary |