metrics_routes
Identify top routes by request volume and error count to spot high-traffic endpoints and failing areas. Filter by source and time window for targeted analysis.
Instructions
Top routes by request volume and error count. Shows which endpoints are getting the most traffic and which are failing most often. Use this to identify hot spots and problem areas.
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": "metrics_routes"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| source | No | Source name from list_sources, e.g. 'app'. Omit to use all sources. | |
| minutes | No | Window size in minutes (default 60). Measured back from the newest entry in the loaded files. |