Skip to main content
Learn more about alert escalation policies in the alerts configuration.
Use alert escalation policies to control when and how often you receive alerts when checks start failing, degrade, or recover. This helps you fine-tune your alerting to reduce noise and ensure timely alerts.

Configuration

Configure your alert escalation policies using the AlertEscalationBuilder, which provides helper methods for the different escalation strategies:

Alert Escalation Builder Methods

runBasedEscalation
function
required
Creates an alert escalation policy that triggers after a specified number of consecutive failed runs.Usage:
Parameters:Examples:
Use cases: Immediate alerting and noise reduction for flaky services.
timeBasedEscalation
function
required
Creates an alert escalation policy that triggers after a specified duration of continuous failures.Usage:
Parameters:Examples:
Use cases: Batch job monitoring, slow services, time-sensitive operations.
reminders
object
Configure reminder notifications while an alert is active.Usage:
Parameters:Examples:
Use cases: Alert fatigue prevention, escalation management, notification frequency control.
parallelRunFailureThreshold
object
Configure threshold for checks running in parallel across multiple locations.Usage:
Parameters:Examples:
Use cases: Multi-region monitoring, CDN availability, redundant service checking.

Examples

Reminder Limits: Be cautious with reminder settings. Too many reminders can lead to alert fatigue, while too few might cause important issues to be overlooked.
Parallel Run Thresholds: Only use parallel run failure thresholds for checks that run in multiple locations simultaneously (runParallel: true).