TOPIC 34/3614 MINNOT STARTED

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.

  1. Log what happened
  2. Watch the signals
  3. Alert on symptoms
  4. Act on the alert
  5. Review and tune
Watch, tell, act

HOW THE PICTURE MAPS

How each part of the picture matches the work
In the pictureIn the work
The smoke alarmThe alert
What the alarm sensesThe measure, such as latency
The person who comes when it soundsThe on-call owner
The test buttonTesting the alert before relying on it
The fire log kept by the householdThe 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?

What each part of the trick stands for
In the trickWhat it stands for
watchwhat do we watch
toldwho is told
fasthow 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
  1. 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)

    Google's chapter on monitoring a service people use. Cited for two things: the argument for measuring in percentiles rather than an average, because an average can look healthy while a real fraction of requests breach a deadline. Also cited for the four golden signals (latency, traffic, errors and saturation), the counting of policy-based errors such as an answer slower than a promised time, and the advice to alert on symptoms more than causes. Cited for these practices generally, not as evidence about how any payments platform is built. · Checked 2026-11-08

    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.

  2. 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)

    Book chapter. Says an alert should call for an action a human must take at once that the system cannot take itself. · Checked 2026-10-18

    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.

  3. 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. Cited for the distinction between monitoring and observability. · Checked 2026-10-11

    A trade-press explainer; secondary. Seen as WebSearch excerpts on the access date; the page was not opened.

  4. 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)

    The wording of the monitoring and event management practice in ITIL (a framework for managing IT services), version 4: monitoring gives visibility into the health and performance of services, and event management is the response when a service's state changes. Cited for that two-part shape generally, not for any firm's own alerts, tools or limits. · Checked 2026-10-11

    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.

  5. Simplified educational illustration

    Payments Signal editorial teaching models — Payments Signal

    This site's own simplified teaching models. · Checked 2026-07-12

    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.

  6. 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.

    Opened actualtimestampedlogdefinition; logs need not associate with request. Telemetry cannot establish arrival/read without matching observation instrumentation. · Checked 2026-11-06

    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.

  7. 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.

    Guidance page. Treats authorization as a separate question from authentication, and describes least privilege and deny by default. Search excerpt only. · Checked 2026-10-18

    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.