Scrape Prometheus-compatible cluster metrics
prometheus_metrics_getScrape Prometheus-compatible cluster metrics for monitoring; bearer tokens or browser sessions limit results to authorized namespaces and clusters.
Instructions
Scrape Prometheus-compatible cluster metrics
Root endpoint accepts bearer API tokens (recommended for scrapers) or a signed-in browser cookie session. Both require monitoring read authorization; only authorized clusters are included.
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": "prometheus_metrics_get"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| 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. |