← All Learning Paths

Site Reliability Engineer

An SRE path covering SLOs and error budgets, golden signals, incident command, runbooks, postmortems, and on-call handoff.

roleadvanced8 nodes11.92h total

Path overview

可靠性工程的本质是用可度量的目标驱动运维决策。本路径从 SLO/SLI/SLA 与错误预算出发,覆盖黄金信号、事件指挥与分级、运行手册、无指责复盘、值班交接,并通过 SLO 看板与错误预算告警把理论落到工程实践。

This path turns reliability into measurable engineering: SLOs and error budgets, golden signals, incident command and severity, runbooks, blameless postmortems, on-call handoff, and SLO dashboards with burn-rate alerts.

  1. Use "Incident Response Runbook" to decide "User impact stops increasing even if the root cause is still unknown.", then prove the outcome with "Acknowledge and declare: Acknowledge the alert, assess user impact, and declare an incident".

    Completion criteria: Produce a run log for "Incident Response Runbook" that ends at "Acknowledge and declare: Acknowledge the alert, assess user impact, and declare an incident" and mark every step where "User impact stops increasing even if the root cause is still unknown." was checked.

    Next step: Blameless Postmortem Workflow

    ⏱ 1h

  2. Follow "Blameless Postmortem Workflow" and record "A factual timeline exists with sources for each event." at the step where it should appear, using "Gather evidence: Collect timestamps, alerts, deploy records, configuration changes, and" as the check.

    Prerequisites: Incident Response Runbook

    Completion criteria: Deliver a transcript of "Blameless Postmortem Workflow" with each step's command and observed state, ending at "A factual timeline exists with sources for each event.".

    Next step: Run an On-Call Handoff

    ⏱ 1h

  3. Carry out "Run an On-Call Handoff" on a sre project, pausing at the "Give the incoming on-call engineer the context needed to detect, diagnose, and escalate" step to verify "The incoming engineer knows what is still broken and what to watch.".

    Prerequisites: Blameless Postmortem Workflow

    Completion criteria: Record the state "Give the incoming on-call engineer the context needed to detect, diagnose, and escalate" at the verification step, then paste the output of "The incoming engineer knows what is still broken and what to watch." that proves it.

    Next step: Add an SLO Dashboard

    ⏱ 0.5h

  4. Execute "Add an SLO Dashboard" end to end, then repeat the last step with one parameter changed and compare "Record the success ratio as an SLI over a short window, excluding invalid client requests.".

    Prerequisites: Run an On-Call Handoff

    Completion criteria: Run "Add an SLO Dashboard" twice — once as written and once with a changed input — and attach both transcripts with the observed difference.

    Next step: Add an Error-Budget Burn-Rate Alert

    ⏱ 0.5h

  5. Run "Compute the burn rate as observed error ratio divided by the allowed error ratio." from "Add an Error-Budget Burn-Rate Alert" and confirm the documented result "A severe incident pages quickly; a brief blip does not.".

    Prerequisites: Add an SLO Dashboard

    Completion criteria: Run the steps through "Compute the burn rate as observed error ratio divided by the allowed error ratio.", paste the command output, and mark the line that matches "A severe incident pages quickly; a brief blip does not."; then rerun with one parameter changed.

    Next step: Observability: Logging, Metrics, and Tracing

    ⏱ 0.5h

  6. Compare "Alerting on Symptoms, Not Causes" with "Distributed Tracing with OpenTelemetry" in "Observability: Logging, Metrics, and Tracing" and state which trade-off you would accept in sre code.

    Prerequisites: Add an Error-Budget Burn-Rate Alert

    Completion criteria: Attach a one-page summary that quotes "Alerting on Symptoms, Not Causes", lists two trade-offs, and links the commit where you applied it.

    Next step: Spend an Error Budget Without Guessing

    ⏱ 1h

  7. Build "Spend an Error Budget Without Guessing" for sre code and verify {allowedFailures:100,consumedPercent:120,remaining:-20,exhausted:true, against both samples.

    Prerequisites: Observability: Logging, Metrics, and Tracing

    Completion criteria: Submit a solution for "Site Reliability Engineer" that passes both samples ({totalRequests:100000,failedRequests:120,sloPercent:99.9,win to {allowedFailures:100,consumedPercent:120,remaining:-20,exhau) and attach the failing case you fixed.

    Next step: Capstone: Site Reliability Engineer

    ⏱ 0.42h

  8. Deliver the "Build a Self-Hosted Uptime Monitor Service" blueprint with "Poll each configured target on a fixed interval with a timeout." working and "Track consecutive failures and open an incident after a threshold." recorded as evidence.

    Prerequisites: Observability: Logging, Metrics, and Tracing, Spend an Error Budget Without Guessing

    Completion criteria: Run the project's test command for "Build a Self-Hosted Uptime Monitor Service", paste the passing output, and attach the acceptance note for "Poll each configured target on a fixed interval with a timeout." with the test name.

    Next step: Run the capstone's tests, publish the repository, and demo it to a reviewer.

    ⏱ 4h