Alert Before Users Notice: Detect Rising API Latency Early
Catch performance regressions early — monitor your API's response times and alert the on-call engineer when latency creeps above healthy levels.
- 1
Probe the Endpoint
Add a
Schedule Triggerevery minute and anHTTP Requestnode measuring the response time of a key endpoint. - 2
Track a Rolling Average
Add a
Codenode maintaining a rolling latency baseline in static data. - 3
Detect Degradation
Add an
IFnode continuing when recent latency exceeds the baseline by a set factor for several consecutive checks. - 4
Page On-Call
Add a
PagerDutynode creating an incident with the current and baseline latency. - 5
Activate and Tune
Activate the workflow and adjust thresholds so transient blips don't page needlessly.
Frequently asked questions
Why require consecutive breaches?
Requiring a sustained rise avoids paging for a single slow request or momentary spike.
Can I monitor multiple endpoints?
Yes — loop over a list of endpoints, each with its own baseline, in the same workflow.