get-prometheus-metrics
Fetch service-level Prometheus metrics for SLI/SLO analysis, including error rates, latency spikes, CPU, and memory over a configurable time window.
Instructions
Fetches Prometheus metrics for SLI/SLO analysis, specifically error rates and latency spikes.
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>",
"metricType": "<metricType>"
},
"name": "get-prometheus-metrics"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| service | Yes | The service name to query metrics for | |
| metricType | Yes | The type of metric to fetch | |
| timeWindowMinutes | No | Time window in minutes (default: 30) |