Which Watcher Notices First¶
Run the Which Watcher Notices First MicroSim Fullscreen
About This MicroSim¶
Each watching tool in this chapter sees one kind of failure. An error tracker hears about code that ran and threw. An uptime check calls the app from outside. A heartbeat check notices a job that didn't report in. An orphaned work sweep finds work stuck half done. And some failures no tool can see at all, because the code itself turned the failure into silence or into a clean-looking result.
For each of ten failures, you pick the tool that would raise the alarm first. To answer well, ask two things about each card: where does the failure happen, and does any code run that could report it?
Cards 4, 5, 7 and 8 come from the chapter's story and running example. The rest are illustrative, and each card is labeled.
How to Use¶
- Read failure card 1.
- Hover a tool button to read what it watches, or press Describe the tools to see all five.
- Pick a tool and press Check. You get one try per card. The sim shows the first to notice and why.
- Press Next card and work through all ten in order. Click a checked dot to read that card again.
- After card 10, the summary groups the cards by the tool that notices first. Look at the "None of these" row: both cards there are code problems.
- Getting 8 of 10 right is mastery.
Iframe Embed Code¶
You can add this MicroSim to any web page by adding this to your HTML:
<iframe src="https://arunbatchu.github.io/good-enough-engineering/sims/which-watcher-notices-first/main.html"
height="504px"
width="100%"
scrolling="no"></iframe>
Lesson Plan¶
Grade Level¶
Adult professional (Good Enough Engineering)
Duration¶
10-15 minutes
Prerequisites¶
Bare catch blocks, error tracking services, uptime checks, health check endpoints, heartbeat checks, orphaned work sweeps, the job that never ran, raw HTTP logs, and failures read as empty (Chapters 9 and 12).
Activities¶
- Exploration (3 min): Open the tool descriptions. For each tool, name one failure it could never see.
- Guided Practice (7 min): Work through all ten cards. Before each Check, say where the failure happens and whether any code runs.
- Assessment (5 min): Look at the summary. Explain why the two "None of these" cards can only be fixed in the code.
Assessment¶
- 8 of 10 cards matched correctly on the first try.
- Can explain why an error tracker misses a job that never ran (cards 3 and 4).
- Can explain why a quiet app is not proof of a working app (cards 6, 7 and 8).
References¶
- Chapter 12: Errors, Logs and Knowing What Happened - the chapter this sim belongs to, including the job that never ran and orphaned work sweeps.
- Monitoring Distributed Systems - a chapter of Google's Site Reliability Engineering book on what to watch and why.