Airflow opsGenie integration - alert header

269 views Asked by At

We have an integration of Airflow alerts that are sent to opsGenie. The alerts appear in opsGenie but the message subject says only "Airport aler:" and one needs to expand the alert to view the details.

In the Airflow code taskinstance.py Isee the following in def email_alert(self, exception):default_subject = 'Airflow alert: {{ti}}' but it seems like the task_instance (ti) is not shown in opsGenie.

In regular emails of the same alert (in my GMail inbox) the message header does show the task instance details as well.

0

There are 0 answers