Boss lesson · Unit 03
The 2 a.m. page
Follow an incident from the alert to the cause
What you practise
- Logs, metrics and traces
- Averages vs percentiles (p50, p99)
- SLIs, SLOs and error budgets
- Alerts worth waking for
- Walking an incident from symptom to cause
Try a question from this lesson
Pick one
Of 100 checkout requests, 98 took 50 ms and 2 took 5 seconds. Which number shows that someone had a terrible time?
Hint
Which of these numbers would change if the two slow requests had been fast?
Correct answer
The 99th percentile (p99), 5 s
Why
The median ignores the slow tail and the average smears it into a harmless-looking 149 ms. The p99 says it plainly: 1 request in 100 took 5 seconds or more. Percentiles describe what users feel.
The idea
Concept cards are short on purpose. In the app they appear between questions, after you have met the idea.
Concept
Three ways to see inside
Metrics are numbers over time: request rate, error rate, latency. Cheap to keep, they feed dashboards and alerts. They tell you *that* something is wrong.
Traces follow one request through every service, with timings. They tell you *where* the time went.
Logs are timestamped events with detail. They tell you *why*.
11 more exercises in the app
- 4× type the answer
- 1× match the pairs
- 4× multiple choice
- 1× order the lines
- 1× true or false
Bitpath is an iOS app in development. Join the waitlist and you get one email when it is ready to try.