Isaac Emmanuel

2026.11.20

Monitoring is not complete until the alert reaches a person

A loaded rule and a green dashboard do not prove that an incident will be noticed. Monitoring has to be tested from failing condition to human receipt.

Monitoring can fail while every monitoring component reports healthy.

The collector is running. The rule file loaded. The alert manager answers its health endpoint. The status page is green.

Then a real incident happens and nobody receives anything.

I have learned to treat alert delivery as a user journey. The "user" is the person expected to respond, and the journey is not complete until a controlled failure reaches them with enough information to act.

A monitoring path has several links

The full path usually looks like this:

text
system behaviour -> instrumentation or probe -> metric collection -> rule evaluation -> alert state -> routing -> notification provider -> human recipient -> response

Testing only one component says very little about the chain.

A Prometheus rule can be syntactically valid while matching no series. An alert can fire but route to a receiver with missing credentials. The provider can accept the message while the address belongs to nobody. The notification can arrive without the service, environment, or runbook needed to respond.

Start with a real condition

I prefer a safe, controlled condition over manually forcing the final alert state.

For example:

  • Stop a disposable test target.
  • Point a dedicated black-box probe at a known failing endpoint.
  • Emit a synthetic queue-age metric in staging.
  • Use a purpose-built test alert with the same routing labels as production.

The test should exercise as much of the real path as possible without affecting customers.

Manually calling the notification webhook proves the provider can receive a request. It does not prove the rule, labels, grouping, inhibition, and routing configuration will ever send one.

Unknown is not healthy

Monitoring systems often need a way to represent stale or missing evidence.

If a probe has not produced a result recently, treating the last green observation as current creates false confidence. The honest state may be unknown.

I separate:

  • Healthy: recent evidence satisfies the condition.
  • Unhealthy: recent evidence violates the condition.
  • Unknown: current evidence is absent or stale.

Unknown is not automatically an outage. It is a monitoring gap that deserves its own response.

Alert on change in counters

Cumulative counters only move upward. If an application has ever exhausted a provider retry, a rule such as this remains true forever:

text
retry_exhausted_total > 0

The useful question is whether new failures occurred in the relevant window:

text
increase(retry_exhausted_total[15m]) > 0

This seems small, but it separates a current incident from history.

The exact window and threshold depend on the system. The principle is that the alert should represent an actionable present condition.

Routing labels are part of the contract

Alert routing usually depends on labels such as service, environment, severity, team, and category. A typo can send an alert to the default receiver or nowhere useful.

I want representative tests for the label combinations that matter:

text
production + payments + critical staging + API + warning production + backup + critical

The receiver should be a named destination with an owner. "Ops email" is not ownership if nobody can say who checks it outside working hours.

A delivery test needs acknowledgement

Provider success is not human receipt.

For important routes, I record:

  • When the controlled condition began.
  • When the alert entered pending and firing states.
  • Which route and receiver were selected.
  • When the notification arrived.
  • Who acknowledged it.
  • Whether the message contained a useful link or runbook.
  • When the resolved notification arrived.

This provides latency for the whole detection path, not merely for rule evaluation.

Avoid using customers as probes

End-to-end testing does not justify sending fake incidents to real customers or running live payment failures against personal accounts.

Dedicated test identities, sandbox providers, bounded staging routes, and clearly labelled synthetic alerts allow realistic verification without confusing the people the system is meant to protect.

When a true production-only path must be tested, the recipients should know the window and expected message in advance.

Dashboards and alerts have different jobs

A dashboard helps someone investigate. An alert asks someone to stop what they are doing.

Not every chart needs an alert. Not every alert needs a complex dashboard. The alert should state the symptom, likely impact, evidence window, current value, ownership, and next diagnostic step.

An alert that says only "threshold exceeded" transfers all context gathering into the most stressful moment.

No firing alerts is weak evidence

"There are no alerts" can mean the system is healthy. It can also mean the rules are absent, the targets are stale, routing is broken, or delivery credentials expired.

I trust monitoring after I have seen the controlled failure travel through the complete chain and reach the person expected to respond.

Until then, the dashboard may be beautiful. The operational control is still unproven.