Error budget
error_budgetCalculate remaining SLO error budget and current burn rate for a service to evaluate if reliability targets are at risk.
Instructions
Compute the remaining SLO error budget and current burn rate for a service.
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": {
"name": "<name>"
},
"name": "error_budget"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | Yes | ||
| window_days | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| service | Yes | ||
| burn_rate | Yes | Multiples of the sustainable rate; >1 is too fast | |
| window_days | Yes | ||
| remaining_pct | Yes | ||
| budget_minutes | Yes | Total downtime allowed in the window | |
| consumed_minutes | Yes | ||
| slo_availability | Yes |