Requirements for logging, monitoring and alerting
Learn to write clear requirements for what a system must record, what it must watch and who is alerted, so a small problem is seen and fixed before users suffer.
L1–L4 are part of the Pro pass
L0 Explain simply
Analogy: A smoke alarm at home. A smoke alarm watches one thing, smoke. It makes a loud sound that wakes people, and it is tested now and then. Someone decided where to put it, how loud it should be and who should come when it sounds.
Software needs the same decisions. What do we watch? Who is told? How fast? Without them, a small fire grows while everybody sleeps.
Sam is the for Daily List, a to-do app. Some reminders arrive late. Lily, a user, complains, but the team only finds out days later. Sam writes requirements so that the team sees such problems early.
Three terms help. Observability is how well people can tell what is happening inside a system from what it gives out. An is a time-stamped record of what the software did. The are four things to watch on a service: latency, traffic, errors and saturation.
The picture has a limit. An alarm has one job. Software has many signals, and too many alerts make people ignore them all.
PLAIN WORDS · 2 in this section
- observability
- how well a system's inner state can be seen
- saturation
- being so full that no more can be taken
PICTURE IT
The picture is the one the lesson above opens with. The table below shows how each part of it matches the work.
THE REAL JOB The picture helps a newcomer remember that watching a system needs three decisions: what to watch, who is told and how fast.
- Log what happened
- Watch the signals
- Alert on symptoms
- Act on the alert
- Review and tune
HOW THE PICTURE MAPS
| In the picture | In the work |
|---|---|
| The smoke alarm | The alert |
| What the alarm senses | The measure, such as latency |
| The person who comes when it sounds | The on-call owner |
| The test button | Testing the alert before relying on it |
| The fire log kept by the household | The application log |
WHERE THIS PICTURE STOPS
- An alarm has one job, but software has many signals.
- A smoke alarm is loud for everyone, but an alert should reach only one owner.
- A fire is obvious, but a software fault may be quiet.
HOOK
Watch it, tell someone, test it.
REMEMBER IT THIS WAY
A sequence: the real steps, in order.
Write three answers into the requirement: what do we watch, who is told, and how fast?
| In the trick | What it stands for |
|---|---|
| watch | what do we watch |
| told | who is told |
| fast | how fast |
TELL A FRIEND
Write what the system must log, which measures it must watch, and who is alerted with what first action. Test each alert and keep passwords out of logs.
OFTEN MIXED UP WITH Reliability, availability and recovery requirements. That topic is about how reliable a service must be and how fast it recovers. This one is about the records and alerts that let the team see a problem.
PRACTISE AND KEEP
Sources for this topic — 7 sources
- Market practice
Site Reliability Engineering: How Google Runs Production Systems — "Monitoring Distributed Systems" ↗ — Google (Betsy Beyer, Chris Jones, Jennifer Petoff, Niall Richard Murphy, eds.) · Google SRE book, Monitoring Distributed Systems: watch the four golden signals, and alert on symptoms users feel more than on causes (registry source; page not opened in this batch)
Freely published in full by Google at sre.google — not a paywalled or excerpted source. Verification boundary: sre.google answers a network egress block through this environment's proxy, so the chapter's argument was confirmed via search summarisation of its publicly indexed content rather than a direct fetch of the page. 2026-10-11: confirmed by search excerpts from sre.google (page not opened): the four golden signals. Timing failed requests separately. Explicit, implicit and policy-based errors. Saturation and the 99th-percentile early signal. 'spend much more effort on symptoms than causes' and 'only worry about very definite, very imminent causes'.
6 November 2026: opened primary chapter, especially The Four Golden Signals and Worrying About Your Tail. Inspected latency of successful versus failed requests, errors, traffic, saturation and percentile monitoring. This does not establish a deployed payment-system SLA.
8 November 2026: primary Chapter 6 Definitions, Why Monitor, Symptoms Versus Causes, Black-Box Versus White-Box, Four Golden Signals and tail discussion opened; selected coverage, actionable alerts and separate success/error latency. Historical practice, not a universal detection guarantee.
- Market practice
On-call (Site Reliability Workbook) ↗ — Google · On-call (Site Reliability Workbook): an alert should call for an action that a human must take at once and that the system cannot take itself (search excerpt, page not opened)
Found through a web search; the page was not opened (search excerpt, page not opened). Licence terms were not read, so put it in your own words and do not quote it. Open the page and confirm what it says before relying on any detail.
- Market practice
Observability vs. monitoring: What's the difference? ↗ — TechTarget · TechTarget, observability vs monitoring: observability and monitoring are related but not the same thing (registry source; page not opened in this batch)
A trade-press explainer; secondary. Seen as WebSearch excerpts on the access date; the page was not opened.
- Market practice
Monitoring and Event Management practice (ITIL, a framework for managing IT services; version 4) ↗ — AXELOS / PeopleCert · ITIL 4 Monitoring and Event Management practice: ITIL 4 describes monitoring and event management as a practice for IT services (registry source; page not opened in this batch)
ITIL is a commercial framework, so the version 4 practice guide itself was not opened. A 2026-10-11 web search returned course listings from PeopleCert, Glasspaper, Purple Griffon, Global Knowledge and Good eLearning. They describe the practice as observing services and recording, reporting and responding to selected state changes called events, with monitoring and event management as two parts. These are secondary summaries (search excerpt, page not opened) and none was the official publication.
- Simplified educational illustration
Payments Signal editorial teaching models — Payments Signal
What this simplifies: Daily List, Sam, Nina, Leo, Tom, Mei and Lily are invented. The sources are a book chapter, a book appendix and trade pages read as search excerpts. The requirements shown are examples, not a design. Engineers and operations staff choose the tools and settings.
Used wherever diagrams, scenarios, figures, or example values are didactic constructions rather than sourced facts; every such use carries a simplifications disclosure. All people, companies, banks, and list entries in examples are fictional.
- Market practiceOpenTelemetryObservabilityPrimer,livingpage6November2026,Logs/Metrics/Traces
OpenTelemetryObservabilityPrimer,livingpage6November2026,Logs/Metrics/Traces ↗ — OpenTelemetry · OpenTelemetryObservabilityPrimer,livingpage6November2026,Logs/Metrics/Traces. Opened actualtimestampedlogdefinition; logs need not associate with request. Telemetry cannot establish arrival/read without matching observation instrumentation.
Primary-source scope and access recorded in v12-ba-technical-audit-20261106.md. Advisory practice unless the cited instrument and its applicability establish a requirement.
- Market practice
Authorization cheat sheet (Open Worldwide Application Security Project cheat sheet series) ↗ — Open Worldwide Application Security Project · OWASP Authorization and Logging Cheat Sheets,living pages accessed6November2026. Read deny-by-default/check-every-request recommendations and logging exclusions/minimisation. Unknown requirement/documentation does not prove actual runtime fail-open.
Found through a web search; the page was not opened (search excerpt, page not opened). Licence terms were not read, so put it in your own words and do not quote it. Open the page and confirm what it says before relying on any detail.
Deepest material on this page: L4 — Standards & sources. Where a topic stops short of implementation depth, that is a deliberate coverage decision, not an oversight — see coverage.