← All Learning Paths

Observability & Alerting

Alert on symptoms, not noise: SLOs, burn rates, golden signals, and actionable dashboards.

technicalintermediate7 nodes10.92h total

Learning path

Alert on symptoms, not noise: SLOs, burn rates, golden signals, and actionable dashboards.

  1. Apply "Add an SLO Dashboard" to a observability & alerting task, checking that "Record the success ratio as an SLI over a short window, excluding invalid client requests." appears after the "The recording rule produces a ratio between 0 and 1 for the service." step.

    Completion criteria: Deliver a transcript of "Add an SLO Dashboard" with each step's command and observed state, ending at "The recording rule produces a ratio between 0 and 1 for the service.".

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

    ⏱ 0.5h

  2. Execute "Add an Error-Budget Burn-Rate Alert" end to end, then repeat the last step with one parameter changed and compare "A burn rate of 1 consumes the budget exactly over the SLO window; 14.4 consumes it in about".

    Prerequisites: Add an SLO Dashboard

    Completion criteria: Show the command for every step of "Add an Error-Budget Burn-Rate Alert" and paste the output proving "A burn rate of 1 consumes the budget exactly over the SLO window; 14.4 consumes it in about"; then note the step where "Compute the burn rate as observed error ratio divided by the allowed error ratio." appears.

    Next step: Add OpenTelemetry Tracing to a Node.js Service

    ⏱ 0.5h

  3. Run "Produce end-to-end traces with W3C context propagation and useful span attributes without" from "Add OpenTelemetry Tracing to a Node.js Service" and confirm the documented result "The service exports spans with the configured service name.".

    Prerequisites: Add an Error-Budget Burn-Rate Alert

    Completion criteria: Run "Add OpenTelemetry Tracing to a Node.js Service" twice — once as written and once with a changed input — and attach both transcripts with the observed difference.

    Next step: Add Structured JSON Logging

    ⏱ 0.5h

  4. Apply "Add Structured JSON Logging" to a observability & alerting task, checking that "Configure a JSON logger with redaction for authorization and cookie headers, and a base" appears after the "Log lines are single JSON objects and sensitive headers are replaced with [REDACTED]." step.

    Prerequisites: Add OpenTelemetry Tracing to a Node.js Service

    Completion criteria: Run the steps through "Log lines are single JSON objects and sensitive headers are replaced with [REDACTED].", paste the command output, and mark the line that matches "Configure a JSON logger with redaction for authorization and cookie headers, and a base"; then rerun with one parameter changed.

    Next step: Observability: Logging, Metrics, and Tracing

    ⏱ 0.5h

  5. Reconstruct the reasoning behind "Observability: Logging, Metrics, and Tracing" by tracing "Structured Logging" to the failure it prevents in observability & alerting systems.

    Prerequisites: Add Structured JSON Logging

    Completion criteria: Attach a decision log for "Observability: Logging, Metrics, and Tracing": the "Metrics with Prometheus" section, one rejected alternative, and the diff of the file you changed.

    Next step: Decide When an Alert Should Fire

    ⏱ 1h

  6. Build "Decide When an Alert Should Fire" for observability & alerting code and verify {firing:true,firstBreachMinute:2} against both samples.

    Completion criteria: Attach the solution file for "Observability & Alerting", two passing sample runs, and one failing run whose error matches the contract.

    Next step: Capstone: Observability & Alerting

    ⏱ 0.42h

  7. Ship "Metric reader" from "Build an Alerting Rule Evaluator", then prove it with the project's test suite and an acceptance note.

    Prerequisites: Decide When an Alert Should Fire

    Completion criteria: Run the project's test command for "Build an Alerting Rule Evaluator", paste the passing output, and attach the acceptance note for "Metric reader" with the test name.

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

    ⏱ 4h