Simulation 101 · Latency 4 · companion

Incidents: tune the alert

An alert rule watches the latency feed and fires when the mean of the last W requests exceeds a limit of L ms. The feed is the incident model of the lesson: 50 simulated days of 1,000,000 requests, 9,109 complete incidents. Pick W and L and see which incidents the rule catches, how late, and how often it fires when nothing is wrong. A third switch chooses what an incident does to a request: replace its latency (the lesson's model) or add an extra delay to it (Perturb with mode add). The two models have the same incidents on the same requests. Every number comes from real runs.

Pick a rule

Window (requests)
Limit (ms)
Incident mode

Which incidents does it catch?

All the rules