Hands-on course
Run the payments stack on your own machine.
Generate requests, inspect the signals, introduce a fault, then confirm recovery in the numbers.
Recommended, in the browser
Launch the tools in GitHub Codespaces
Create your own workspace from the repository. Its startup task builds the five-service lab and verifies real telemetry. Wait for “Workspace ready” in the creation log, then use the Ports tab to open Grafana, Prometheus and Jaeger. Run exercise commands in labs/observability.
Create SRE workspace ↗ (opens in a new tab)Requires GitHub and available Codespaces quota or billing. First startup takes several minutes. Keep forwarded ports private. When finished, run node lab.mjs down, then stop or delete the Codespace in GitHub to release compute and storage. Local Docker remains available through the download.
Express checkout → FastAPI payment. Prometheus scrapes metrics. Grafana queries them. OpenTelemetry exports spans to Jaeger. Both services write structured JSON logs.
A GitHub account with Codespaces quota, or local Docker with Compose and Node.js 20+. The kit contains the application source, pinned dependencies, tool configurations and a dependency-free verification CLI.
Each exercise states the expected artifact and a checkpoint command. Verifiers query the actual services and tools; they fail when the required evidence is absent.
- 01
Docker Compose · 12 min
The checkout stack
Start two real services and the tools that observe them. Prove that all four local interfaces respond.
- 02
Prometheus metrics · 15 min
A counter, a gauge, and a histogram
Distinguish a counter, an in-flight gauge and a latency histogram using actual checkout requests.
- 03
PromQL · 18 min
Rate, errors, and tail latency
Calculate request rate, error ratio and tail latency from the same measured population.
- 04
Grafana · 15 min
The Grafana board
Read a provisioned dashboard, inspect its queries, and add a panel that answers a new operational question.
- 05
OpenTelemetry + Jaeger · 18 min
A charge, from Express into FastAPI
Find a slow FastAPI operation inside an Express checkout trace and prove that context crossed the network.
- 06
Structured JSON logs · 12 min
A log line and its trace
Correlate an individual customer outcome with work performed by the downstream service.
- 07
Prometheus alert rules · 20 min
A checkout alert, and the rule behind it
Trigger a real sustained-condition alert, inspect pending/firing states, and change its rule safely.
- 08
Incident response · 20 min
A timeout, the recovery, and the window after
Use metrics, spans and logs to find a timed-out dependency, recover it, and verify a healthy rolling window.