metrics
Retrieve time-series data for a server, GPU, or service across selectable ranges to monitor performance and usage.
Instructions
Time series for a server (scope=host), a GPU (gpu:0) or a service (service:, added up over every server). range is 1h, 6h, 24h, 7d or 30d.
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"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| node | No | Server id for host and GPU scopes | |
| names | No | Comma-separated series, e.g. cpu,memory,restarts | |
| range | No | 1h | |
| scope | No | host, gpu:<n> or service:<id> |