get_metrics
Retrieve metric series for a service using canonical metric names. Returns deterministic aggregates with optional bounded raw points.
Instructions
Get metric series for a service. metric_names must be canonical names from get_services' available_metrics for that service. Always includes deterministic aggregates (min/max/average/last); raw points only when include_points=True, bounded.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"service": "<service>",
"environment": "<environment>",
"metric_names": "<metric_names>"
},
"name": "get_metrics"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| service | Yes | ||
| max_points | No | ||
| time_range | No | ||
| environment | Yes | ||
| metric_names | Yes | ||
| include_points | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| capability | No | metrics | |
| collection | No | ||
| availability | Yes |