PagerDuty是否支持延迟告警以等待问题自解决?如何配置避免无效告警?
Absolutely, PagerDuty has exactly the functionality you need to cut down those annoying middle-of-the-night false alarms where the cloud service issue resolves itself before you even get out of bed. The setup is straightforward—here are two easy ways to configure a 5-minute delay before alerts trigger notifications:
1. 单个服务级快速配置(最简便)
If you only need this delay for specific services, this is the fastest approach:
- Navigate to the target Service in your PagerDuty dashboard
- Go to the Settings tab, then select Alert Grouping
- Look for the Wait to trigger notifications option (located under either "Intelligent Grouping" or "Basic Grouping" depending on your plan)
- Set the wait time to 5 minutes and save your changes
How it works: When an alert event comes in, PagerDuty holds off on sending notifications for your specified window. If a corresponding "resolve" event arrives within those 5 minutes, the alert closes automatically without bothering your team. If no resolve event shows up after the delay, the notification triggers as usual.
2. 全局事件规则配置(适合多服务统一管控)
If you need to apply this delay across multiple services or specific alert types, use Event Rules for more flexibility:
- Go to Automation > Event Rules in your dashboard
- Create a new rule, then define trigger conditions (e.g., match alerts from specific cloud services, or all alerts across your account)
- Add an action: select Delay event and set the delay to 5 minutes
- Add a follow-up action: choose Trigger alert (this ensures the alert is sent if the delay expires without a resolve event)
- Optional: Add a secondary rule to cancel the delayed alert if a resolve event is received in the interim
Both methods are built to handle exactly your scenario—eliminating unnecessary wake-ups for self-resolving cloud service issues.
内容的提问来源于stack exchange,提问作者eiu165

