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.
Keep every recipe free
FlowRecipesHub is free and always will be. If a workflow saved you time, chip in what you like — it helps us keep the lights on and build the next batch of automations for everyone.
Secure checkout via Paddle · one-time, no account needed
