Fix broadcast alert not triggering PagerDuty

We previously decided against this [^1] but the lambda alerts are
not a replacement for this one.

Even if both sets of alerts go off, we expect PagerDuty to aggregate
them into a single notification.

[^1]: 65c21f694c
This commit is contained in:
Ben Thorner
2022-04-05 16:15:02 +01:00
parent f4cc87dc77
commit 190c2b5122

View File

@@ -90,7 +90,8 @@ def _create_p1_zendesk_alert(broadcast_message):
technical_ticket=True,
org_id=current_app.config['BROADCAST_ORGANISATION_ID'],
org_type='central',
service_id=str(broadcast_message.service_id)
service_id=str(broadcast_message.service_id),
p1=True
)
zendesk_client.send_ticket_to_zendesk(ticket)