- Change FIRING trigger for webhooks to be sent after escalation snapshot has been computed - Extract users from `notify_to_users_queue` and `notify_schedule` from escalation snapshot to populate `users_to_be_notified` in webhook payload
6 lines
311 B
Python
6 lines
311 B
Python
from apps.alerts.signals import alert_group_action_triggered_signal, alert_group_escalation_snapshot_built
|
|
|
|
from .listeners import on_action_triggered, on_alert_group_created
|
|
|
|
alert_group_escalation_snapshot_built.connect(on_alert_group_created)
|
|
alert_group_action_triggered_signal.connect(on_action_triggered)
|