Read aggregated per-member metric time series
cluster_metrics_getRetrieve aggregated per-member metric time series for a managed cluster over a chosen time range and step, including timestamps, values, units, and labels.
Instructions
Read aggregated per-member metric time series
Returns start, end, step and per-member series containing name, unit, labels and timestamp/value points for the requested time window. Select the cluster through clusters_list or cluster_get; missing clusters return 404 and unavailable monitoring returns 503.
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": {
"cluster": "<cluster>"
},
"name": "cluster_metrics_get"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| step | No | Positive Go duration no greater than range. The omitted default 30s is bounded to a shorter requested range. | 30s |
| range | No | Positive Go duration no greater than 24h, for example 30m, 1h or 24h. Days are not a duration unit. | 1h |
| cluster | Yes | Managed cluster name; the RBAC object is namespace/cluster. | |
| namespace | No | Namespace of the requested object; defaults to default for single-object routes and creation. On collection routes (/clusters, /operations, /events, /events/stream, /orphaned-volumes, /backup-storages and root /metrics), absence includes all authorized namespaces and a value filters to that namespace. A nonexistent explicit namespace returns 404 not_found with resource namespace and its name only when the authenticated caller has a permission in that namespace. Otherwise collections remain empty and object requests retain their normal 403 response without revealing existence. Public and unauthenticated authentication routes do not resolve the parameter. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| end | Yes | ||
| step | Yes | ||
| start | Yes | ||
| series | Yes | ||
| operationId | No |