Alert design and observability
From metrics to useful alerts
Observability means using evidence to understand system behavior. Metrics describe numerical trends, logs describe recorded events, and traces follow a request across components. A useful alert identifies actionable user impact or urgent risk, not merely every unusual value. Establish a baseline for normal time-of-day behavior and distinguish link utilization, saturation (queued or constrained work), packet loss and service errors.
Design a symptom alert
Use a measured service signal: for example, page the responsible operator when three consecutive complete one-minute windows each show more than 5% failed synthetic requests, with at least 100 attempts per window. This threshold is illustrative, not universal. A separate data-freshness alert covers missing windows; do not silently substitute zero. Group related alerts and link to a runbook with an owner and verification steps.
Read a fictional incident
Three complete windows show 8, 7 and 9 failures per 100 attempts. This satisfies the example rule. If the middle window is absent, the three-window rule is not established; investigate missing data. At the same time egress utilization is 92%, queue discards rise and a backup flow estimate grows. These support a congestion hypothesis, but do not prove it: check the service path, timestamps and independent probes.
minute 1: 8/100 = 8%minute 2: 7/100 = 7%minute 3: 9/100 = 9%Logs, clocks and evidence quality
Syslog conveys event messages; severity is a classification rather than proof of impact. Use protected transport where supported and restrict access. Record event time and collector arrival time, synchronize clocks, use UTC for correlation, and note clock uncertainty. Compare interface errors, discards, probe loss and application failure ratios with explicit denominators and time windows. Missing data, changed labels and collector backpressure are monitoring failures worth investigating.
Practice the response
For an alert, write down the affected service, interval, observed failure rate and evidence links. Verify with a second authorized source, identify a hypothesis, and choose a reversible correction with an owner. Recheck service health and data collection afterward. An alert clearing is not alone proof of recovery; a missing sample may simply have stopped evaluation.
Check Your Understanding
Solidify your learning with the interactive assessment directly below this lesson.
Concept Quiz & Questions
Alert design and observability Quiz
Interpret synthetic monitoring observations and explain their limitations.
Which signal is closest to a user-facing symptom?
Three complete windows have 6%, 5%, 8% failures and 100 attempts each. Does the example alert fire?
A middle one-minute window is missing. How should it be treated?
High utilization and rising discards coincide with failed requests. What can you conclude?
What is a useful recovery verification?