Uploaded image for project: 'Apache Airflow'
  1. Apache Airflow
  2. AIRFLOW-6671

Airflow sla_miss_callback function not triggering

    XMLWordPrintableJSON

    Details

      Description

      I have been trying to get a slack message callback to trigger on SLA misses. I've noticed that:

      1. sla_misses get registered succesfully in the Airflow web UI at slamiss/list/
      1. on_failure_callback works succesfully

      However, the sla_miss_callback function itself will never get triggered.

      What I've tried:

      • Different combinations adding 'sla' and 'sla_miss_callback' at the default_args level, the dag level, and the task level
      • The slack message callback function works if called from any other
        basic task or function

       

        Attachments

          Activity

            People

            • Assignee:
              Unassigned
              Reporter:
              allenlee94 Allen Lee
            • Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

              • Created:
                Updated: