Create intelligent rules to control when and how you receive alerts
Notification rules allow you to create conditional logic for when alerts should be sent. This helps reduce noise and ensure you only get notified about events that matter.
Start with simple rules based on job status:
IF job_status = "failed" THEN notify via emailSend email when any job fails
IF job_status = "success" AND duration > 300 THEN notify via slackSlack alert for jobs taking longer than 5 minutes
Combine multiple conditions for sophisticated alerting:
Control notification timing to avoid alert fatigue:
Suppress non-critical alerts during specific hours
Quiet: 10 PM - 8 AM (local time)Limit notifications to prevent spam
Max: 5 alerts per hourIncrease urgency if issue persists
After 3 failures: notify managerAssign severity to rules for better prioritization:
Immediate action required - production impact
Important but not urgent - address soon
Normal priority - can wait for business hours
Informational only - no action needed
Alert if ETL job fails during business hours, but only send summary email for weekend failures
IF failed AND weekday THEN slack ELSE email_digestNotify when job duration exceeds baseline by 50%
IF duration > (avg_duration * 1.5) THEN notifyEscalate to manager if same job fails 3 times in a row
IF consecutive_failures >= 3 THEN notify_managerFor detailed API documentation on creating rules programmatically:
REST API Documentation →