Skip to content
Clairos Learn

Observability and tracing · Lesson 12 of 15 · 5 min

Calculate error-budget posture

Error-budget posture compares observed bad events with the allowance implied by the SLO. Record the window and avoid mixing request-based and time-based budgets.

Mastery 0/3Run itExplain itApply it
learner@clairosSimulated AI Ops lab
learner@clairos:~ $
↑ history · Tab complete · Ctrl+C cancel · Esc, Tab to leaveExit 0

Understand the pattern

Error-budget posture compares observed bad events with the allowance implied by the SLO. Record the window and avoid mixing request-based and time-based budgets.

Interpret the evidence

Treat this request-based budget as exceeded by 20 failures and review risky changes.

A tempting mistake

A 99 percent target allows any failure count below 1000.

All names, measurements, prices, versions, and thresholds in this exercise are fictional training data. The evidence supports this bounded scenario, not a claim about a live provider.

Worked example and expected result
$ cat /opt/ai-lab/cases/aiops-observability-tracing-012.json
{
  "fixture": "Fictional training data; not a live measurement.",
  "eligible_requests": 10000,
  "success_target": 0.99,
  "allowed_failures": 100,
  "observed_failures": 120
}

Exit status: 0. The command completed successfully in the training fixture.

$ jq .observed_failures /opt/ai-lab/cases/aiops-observability-tracing-012.json
120

Exit status: 0. The command completed successfully in the training fixture.

$ printf '%s\n' 'pause-risky-change' > /home/learner/lab/aiops-observability-tracing-012-decision.txt
(no output; exit 0)

Exit status: 0. The command completed successfully in the training fixture.

Try a variation

Name the assumption that would have to change for “pause-risky-change” to stop being the justified action. Do not silently replace missing evidence with a guess.

Explain it

What does the evidence in “Calculate error-budget posture” justify?

Apply it elsewhere

A colleague concludes: “A 99 percent target allows any failure count below 1000.” What should you do?

Keep the momentum.

Complete the lab, then explain and apply the pattern.

Next: Build an incident timelineTry an incident drill

Anonymous lesson and mastery progress lasts for this session. Sign in to keep synced lesson XP between sessions; mastery stays device-local. No speed bonus, lost lives, or hint penalties.

Keep learning

  1. 01Read an SLO windowAn SLO defines a target and window for a user-visible measure. Read the denominator and exclusions before comparing current behavior to the target.Practice
  2. 02Build an incident timelineAn incident timeline preserves ordering, versions and the distinction between observations and interventions. Use timestamps with a shared timezone or offset.Practice
  3. 03Prepare an observability summaryAn observability summary should name the symptom, scope, supporting signals and uncertainty. A concise note is useful only if its key claims can be checked.Practice