Jump to text
On this page
Copy and source
Published source confirmed at last check

Source changed 2026-11-23 16:07:44 UTC · snapshot created 2026-11-23 16:09:03 UTC · last check 2026-11-24 03:00:20 UTC

SYSE.37:4.6 - Choose rules with useful detection and reset behavior

Construct the rule from the response deadline, then test its behavior over time. An instantaneous error threshold notices a brief burst quickly but can interrupt people for effects that have already ended. A long-window average can detect accumulated loss while continuing to fire long after recovery. Requiring one threshold continuously for a long duration can miss a damaging intermittent failure whose gaps repeatedly reset the timer. Compare these alternatives against histories that represent the loss you need to catch, rather than selecting the query shape first.

A longer-window and shorter-window pair addresses a particular combination: enough loss has accumulated to justify action, and significant loss is still occurring. Use logical AND within that pair. If both fast and slower damage need different timely responses, construct separate pairs and combine the relevant alerting paths deliberately. A slow response can be an ordinary work item instead of a second page. Explain overlap to the recipient or deduplicate it by the affected event so that two valid rules do not create two competing responses.

In a constructed exercise, the fast rule notifies at minute 0 and a slower rule at minute 1 about the same overload event A. Retain both window observations under A and request one response. From minute 1, the only available duty engineer needs four minutes to shed permitted low-priority work and confirm relief; A needs that response completed by minute 7.

At minute 1, separate evidence also identifies integrity event B, whose qualified containment takes three minutes and must finish by minute 6. Each response needs the engineer throughout and has no qualified safe interruption; its duration includes recognition, the authorized decision, intervention and confirmation. A then B finishes at minutes 5 and 8; B then A finishes at minutes 4 and 8. Neither order protects both deadlines. The engineer holds the delegated incident authority and, under the agreed priority for preventing further corrupt writes, chooses B first; A’s timely protection remains unavailable even though its relief can finish at minute 8. Keep B’s evidence and response separate from A’s grouped notifications. Use SYSE.38 for the active response and SYSE.40 to develop A’s overload protection before a recurrence.

If B’s next write is instead scheduled for minute 9 and containment before it remains sufficient, A then B fits both limits with the same engineer and actions.

For example, under the same constant-rate, 30-day, 99.9% assumptions as section 5, choosing 10% budget consumption in three days yields 0.10 × 720 / 72 = 1: a 0.1% bad-event fraction. A selected six-hour confirmation window can show that this slower loss continues. A sustained 0.2% bad fraction has burn rate 2; it may warrant planned reliability work through this rule while remaining below the fast rule’s 14.4 threshold. The distinct values express distinct response needs. They are illustrative choices, not a reason to copy a three-day delay into a service whose harm becomes unacceptable within minutes.

Check the time available after detection. A correctly evaluated predicate may still be too late when collection, evaluation, delivery and mitigation together exceed the useful response interval. Shorten those delays, change the detection rule, or redesign the mitigation if it can no longer protect the result. A higher-sensitivity rule cannot compensate for an unavailable responder or a recovery procedure that takes longer than the remaining useful time.

Replay complete histories that can challenge the selected budget-risk rules: for example, a short spike, sustained or intermittent loss, slow degradation, recovery or telemetry outage. Compare the first firing time, clearing time, notifications and required action. Vary task volume where it affects the rule. At rapidly changing volume, p × T / w is no longer an exact statement about the fraction of the objective’s event budget consumed; use actual counts under the selected objective-window convention and state any remaining forecast assumption. A time-window burn alert can still be a useful risk heuristic under that limitation.

Check that the implementation can express the selected interval. For example, the linked Cloud Monitoring built-in SLO alerting procedure limits its lookback compliance period to 24 hours. The three-day calculation above cannot be copied directly into that mechanism. Obtain an aggregation or another implementation that supports the intended interval, or select and exercise a different rule that preserves the needed slower-loss coverage. Shortening the window changes the decision rule even if the threshold label stays the same.

Keep direct high-consequence conditions alongside budget reasoning when they answer another question. An observed wrong-bank-account payment can require immediate containment regardless of the aggregate availability budget. A monitoring pipeline failure can require restoration of visibility without asserting that the application is down. Each such rule needs its own observation and response basis. Combining all of them into one undifferentiated service-health page loses the decision the recipient must make.