Scrivio Interview library
ScenarioAdvanced5 min read · updated 13 November 2026

During a regional network outage, a company's metrics and alerting stack, hosted in that same region, went down with everything else. On-call engineers learned of the outage from customers 25 minutes later, and dashboards were blank while they worked.

How do you design monitoring so it keeps working, or at least warns someone, during the failures it exists to catch?

Monitoring must not share a failure domain with what it watches: alerting runs in at least two regions or on a separate provider, each region's metrics are collected independently, and an always-firing heartbeat goes to an external service that pages when the heartbeat stops. External synthetic probes test user-facing endpoints from outside, paging goes through a provider outside our infrastructure plus a second channel, the monitoring stack works without the main identity provider, internal DNS or the service mesh, and game days prove a page arrives within a target such as 5 minutes.

Why this question is asked

A monitoring system that goes down with the outage is like a smoke alarm wired to the same fuse as the fire. It worked every day it was not needed and failed the one day it mattered, and the 25 minutes before customers told us were the most expensive minutes of the incident. Interviewers ask this because it tests whether we think about failure domains and dependencies, not just features. In this answer, we will see why the stack failed with the region, separate its failure domains, add monitoring of the monitoring, test from outside, make paging and access independent, and prove it with game days.

1Why the Monitoring Failed With Everything Else

A failure domain is the set of things that fail together because they share something: a region, a network, a power supply, a control plane. The metrics stack, the alert evaluator and the alert manager all ran in the same region as the services. When the regional network failed, the scrapers could not reach targets, the rule evaluator could not run, and the alert manager could not send pages. Silence looked exactly like health.

The blank dashboards had a second cause: even where data existed, engineers could not reach it, because dashboard login went through the company's identity provider and internal DNS, both hosted in the same region. The monitoring stack depended on the systems it was meant to watch.

2Separating Failure Domains

The first rule is that alerting must survive the loss of any one region. We run the alerting path, rule evaluation and the alert manager, in at least two regions, or on a separate provider, and each region's metrics are collected by collectors in that region but evaluated in a different one as well. If region A fails, region B's evaluator notices that A's targets stopped reporting, and an absent-data alert fires.

Who watches whom
ComponentRuns inSurvives loss of region A?
Services and region A collectorsregion Ano, they are what failed
Alert rules for region Aregion A and region Byes, region B still evaluates
Alert managerclustered across regionsyes
Heartbeat receiverexternal serviceyes, pages when heartbeats stop
Synthetic probesexternal provider, several locationsyes, sees what users see
Pagingexternal provider plus second channelyes

Notice the absent-data alert. 'Region A's targets have reported nothing for 3 minutes' is an alert that only a system outside region A can raise, and it is exactly the alert we needed in this outage.

3Watching the Watcher With a Heartbeat

Even a well-separated alerting system can fail silently: a configuration error, an expired certificate, a full disk. So we add meta-monitoring, monitoring of the monitoring. The simplest form is a dead man's switch: an alert rule that is always true, so it fires continuously, routed to an external heartbeat service. That service expects a heartbeat every minute and pages the on-call engineer when it stops arriving.

Step throughDead man's switch
Rule evaluatorAlert managerHeartbeat serviceOn-call phone
Watchdog alert, always firing
heartbeat every 60 s
last heartbeat 5 minutes ago
page: monitoring pipeline silent

4 messages in order. Play them, or step through them one at a time.

Silence from the pipeline becomes a page instead of looking like health.

4Testing From Outside

Internal metrics tell us how our servers feel; customers care whether the product works. External synthetic probes, scripted checks run by a provider outside our infrastructure from several locations, call user-facing endpoints every minute: load the login page, search, add to cart. If two or more locations fail for three minutes, they page directly.

These probes would have caught this outage within minutes, independently of anything inside the region, because they see exactly what customers saw.

5Paging Paths and the Stack's Own Dependencies

The paging provider must live outside our infrastructure, and we keep a second notification channel, for example a phone call as well as a push notification, in case one fails. On-call engineers should verify both on their own phones when they start a rotation.

Then we cut the monitoring stack's own dependencies. It should be reachable without the main identity provider, with a local or separate login path, without internal DNS, using known addresses or a separate resolver, and without the service mesh. Responders get break-glass access, emergency credentials stored securely, whose use is logged and reviewed. A simple test helps: list everything the monitoring stack needs in order to page someone and show a dashboard, and ask of each item whether it shares a failure domain with production.

6Proving It With Game Days

None of this is real until it is tested. On a game day we simulate the loss of a region, by cutting its network in a staging environment or, once confident, in production during a quiet period, and measure the time from failure to page. We set a target, for example a page within 5 minutes and usable dashboards within 10, and treat a miss as an incident to fix.

Game days also train people. Responders practise using break-glass access and the out-of-region dashboards when nothing is at stake, so that during the real outage they are not learning the procedure for the first time.

Step throughA region-loss game day
  1. Announce the exercisescope, time, abort criteria
  2. Cut region A's networkstaging first, then production
  3. Page within 5 minutes?measure from cut to page
    YesRecord time and continueNoIncident: find the gap
  4. Dashboards usable without region A?login, DNS, data
    YesRecord and restoreNoIncident: remove the dependency
  5. Review and track fixesrepeat every quarter

5 steps in order. Play them, or step through them one at a time.

7Follow-up questions

Is running monitoring in two regions expensive?

The alerting path is small compared with the full metrics store: rule evaluators, an alert manager cluster and the recent data they need. We can keep long-term storage in one place and replicate only what alerting needs. The cost is far less than 25 minutes of undetected outage.

What should an absent-data alert look like?

It fires when a group of targets that normally reports stops reporting, for example when the count of up series for a region drops to zero or a key metric is absent for several minutes. It should be routed with high priority, because it often means the network or the collectors failed rather than the services.

Should we use a commercial monitoring service instead?

A hosted service is a separate failure domain by nature, which helps, but it still depends on our network to receive data. Many teams combine an internal stack for detail with an external service for heartbeats, synthetic probes and paging.

8Conclusion

In this answer, we saw that the monitoring stack failed because it shared a failure domain, and its login and DNS, with the region it watched. We ran alerting in at least two regions with absent-data alerts, added a dead man's switch to an external heartbeat service, probed user-facing endpoints from outside, kept paging and access independent of internal systems with break-glass credentials, and set a measurable target, such as a page within 5 minutes, proven by regular game days.

What to say in the interviewAbout 80 seconds aloud

Open with

The problem is that monitoring shared a failure domain with what it watched: collectors, rule evaluation, the alert manager, and even dashboard login and DNS all lived in the region that failed, so silence looked like health.

Then, if they want more

I would fix it in layers. First, alerting runs in at least two regions or on a separate provider, and each region is evaluated from outside it too, so an absent-data alert fires when a region's targets stop reporting.

Second, meta-monitoring: an always-firing watchdog alert sends a heartbeat to an external service every minute, and that service pages us if the heartbeat stops, which catches any silent failure of the pipeline. Third, external synthetic probes from several locations test user-facing flows like login and checkout every minute and page directly, so we see what customers see.

Fourth, the paging provider is outside our infrastructure with a second channel such as phone calls. Fifth, I cut the monitoring stack's own dependencies: it has to work without the main identity provider, internal DNS or the service mesh, with logged break-glass access for responders.

Finally, I would run game days that take a region down and measure time to page against a target, for example a page within five minutes, treating a miss as an incident to fix.

About this answer

Last updated
13 November 2026
Checked
Its structure and format are checked automatically. Use it as a carefully prepared study note: where a detail matters, confirm it against the official documentation for the version you use. What the checks cover
Where the question comes from
Written by Scrivio for practice. It is not taken from an interview.
Report an issue with this answer

Copy the line below and send it to the author with what you found. It carries the address of this page.

Issue with "How do you design monitoring so it keeps working, or at least warns someone, during the...": https://scrivio-interview-library.netlify.app/architecture/system-design-problems/570b57840a/