Module 3 · Ship it and run it · Lesson 10
Observability and operations
The engine already exports the numbers that explain every incident, queue depth, KV-cache usage, preemptions, prefix hit rate and the latency histograms; this lesson turns them into SLOs with error budgets, alerts on the leading signals, a diagnosis tree, a capacity plan from the measured knee and Little's law, and the routing decisions that come with a second replica.
Setup for the exercises:Install Claude CodePython with uvDocker and Docker ComposeThe Quillmoor triage kit
By the end of this lesson you can
- Scrape the engine's Prometheus metrics by their exact names and read what each one says about the scheduler
- Define SLOs for TTFT, ITL, availability and parse rate, compute the error budget, and alert on leading signals rather than lagging ones
- Diagnose "TTFT exploded", "ITL exploded" and "parse rate dropped" from metric snapshots and name the first action for each
- Build a capacity plan from the measured knee, Little's law and the traffic forecast, with a written replica trigger
- Decide between round-robin and prefix-aware routing across replicas, and say when prefill/decode disaggregation pays
