You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@airflow.apache.org by "Gerard Casas Saez (Jira)" <ji...@apache.org> on 2019/12/06 23:43:00 UTC

[jira] [Updated] (AIRFLOW-6184) Add `email_on_retry` and `email_on_failure` for DAGs

     [ https://issues.apache.org/jira/browse/AIRFLOW-6184?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Gerard Casas Saez updated AIRFLOW-6184:
---------------------------------------
    Description: 
Currently, there's support for  `email_on_retry` and `email_on_failure` on operators.

As a user I would like to have an easy way to be notified if the DAG is marked as failed. As I may want to get paged if so. 

 

Adding a notification operator may fail if the workers are not getting jobs scheduled.

  was:
Currently, there's support for  `email_on_retry` and `email_on_failure` on operators.

As a user I want an easier way to be notified if the DAG is marked as failed. This functionality can be implemented into the `on_failure_callback` but I think we would benefit from surfacing it to make it easier to use.


> Add `email_on_retry` and `email_on_failure` for DAGs
> ----------------------------------------------------
>
>                 Key: AIRFLOW-6184
>                 URL: https://issues.apache.org/jira/browse/AIRFLOW-6184
>             Project: Apache Airflow
>          Issue Type: Improvement
>          Components: DagRun, scheduler
>    Affects Versions: 1.10.7
>            Reporter: Gerard Casas Saez
>            Priority: Minor
>
> Currently, there's support for  `email_on_retry` and `email_on_failure` on operators.
> As a user I would like to have an easy way to be notified if the DAG is marked as failed. As I may want to get paged if so. 
>  
> Adding a notification operator may fail if the workers are not getting jobs scheduled.



--
This message was sent by Atlassian Jira
(v8.3.4#803005)