get_service_metrics
Retrieve service performance metrics (latency, error rate, CPU, memory, requests/sec) to identify degradation trends and correlate with deployments or incidents.
Instructions
Retrieves time-series performance metrics for a specific service: latency (ms), error rate (0–1), CPU usage (0–1), memory usage (0–1), and requests per second. Use this to identify performance degradation trends and correlate them with deployments or incidents. Look for sudden spikes in error_rate or latency_ms following a deployment.
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>"
},
"name": "get_service_metrics"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| service | Yes | Name of the service (e.g., "payment-service", "api-gateway", "auth-service"). | |
| since_minutes | No | Retrieve metrics from the past N minutes. Defaults to 60 minutes. |