Testing in production, safely
Some faults only show with real traffic. A tester can run safe checks on the live app, if they are read-only, flagged, reversible and use marked test data.
L1–L4 are part of the Pro pass
L0 Explain simply
Analogy: asking guests how the meal was. A restaurant asks guests how the meal was while the restaurant is open. The staff watch the tables and listen. They do not experiment on food safety with the guests. They learn from the real dinner without putting anyone at risk.
Daily List is a to-do list app. Some faults only show on the live app, with real users, real phones and a busy evening. Tom cannot copy all of that into a test copy. So he adds a few safe checks on the live app itself.
One is a scripted visit that logs in with a special test account every few minutes. If it fails, the team knows before users complain. This is called a .
The picture has a limit. A restaurant cannot undo a bad meal. A software team can, if the checks are flagged and reversible.
(SYNTHETIC / TRAINING ONLY: Daily List and every person named in this lesson are invented.)
PLAIN WORDS · 1 in this section
- reversible
- able to be undone or turned back
PICTURE IT
The picture is the one the lesson above opens with. The table below shows how each part of it matches the software.
THE REAL JOB Learning from the live app through authorised, monitored and bounded checks or experiments, while controlling impact and data use.
- Watch the tables
- Ask a safe question
- Fix what you hear
- Leave the guests safe
HOW THE PICTURE MAPS
| In the picture | In the software |
|---|---|
| Asking guests how the meal was | A synthetic check on the live app |
| Watching the tables | Reading logs and signals |
| Not testing food safety on guests | No risky tests on real users |
| A guest who is not served | A real user who gets a fault |
WHERE THIS PICTURE STOPS
- A restaurant cannot undo a bad meal. A flagged change can be undone.
- Guests tell you at once. A script reports only what it was told to check.
- A restaurant has one dining room. A product has many users and devices.
HOOK
Watch live, do no harm.
REMEMBER IT THIS WAY
A rule of thumb: if you see this, think that.
If on the live app touches real users, usually run it as a scripted visit with a special test account.
| In the trick | What it stands for |
|---|---|
| Scripted visit | a scripted visit that logs in with a special test account every few minutes |
| Real users | do not experiment with the guests, no risky tests on real users |
Some faults show only for real users and real phones, so a test account can miss them.
TELL A FRIEND
A restaurant asks guests how the meal was, without experimenting on food safety.
OFTEN MIXED UP WITH Feature flags and canary releases. The flag lesson shows how to release in small steps. This lesson shows safe checks on the live app once it is out.
PRACTISE AND KEEP
Sources for this topic — 5 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.) · Black-box monitoring checks symptoms that are happening now; white-box monitoring uses internals such as logs; the four golden signals are latency, traffic, errors and saturation (search excerpt, page not opened)
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
Site Reliability Engineering: Service Level Objectives ↗ — Google · An SLI is a carefully defined quantitative measure of service level; an SLO is a target for an SLI; an SLA is an explicit or implicit contract with consequences (search excerpt, page not opened)
A practice description from one company; the text was seen only as search excerpts. Seen as WebSearch excerpts on the access date; the page was not opened.
8 November 2026: primary Chapter 4 Indicators, Objectives and Agreements opened; defined measurement/window, targets and consequences that may be nonfinancial. Historical examples are not current product SLAs.
- Market practice
Testing microservices, the sane way: pre-production and in production (LaunchDarkly blog) ↗ — LaunchDarkly · Summary of Cindy Sridharan's talk: staging is often relied on far more than necessary, and production has safe tests of its own (search excerpt, page not opened)
Found through a web search; the page was not opened (search excerpt, page not opened). Version: Web page, no edition number. 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
Canarying Releases (Google SRE Workbook) ↗ — Google · Canarying finds defects that testing frameworks such as unit or load tests, which are often more artificial, do not show (search excerpt, page not opened)
One firm's engineering guidance. Seen as WebSearch excerpts on the access date; the page was not opened.
- Market practice
Site Reliability Engineering: How Google Runs Production Systems — "Postmortem Culture: Learning from Failure" ↗ — Google (Betsy Beyer, Chris Jones, Jennifer Petoff, Niall Richard Murphy, eds.) · Postmortem culture: write up what happened, the causes and the actions, and keep the review blameless (search excerpt, page not opened)
Freely published by Google at sre.google. The chapter was not opened; the points come from search excerpts, and the owned action items point from a USENIX (the Advanced Computing Systems Association) ;login: article by Google authors (Lunney, Lueder, Beyer) that surfaced in the same search.
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.