Re: DAG level service level agreements

2016-09-20 Thread Maxime Beauchemin
Hi,

You can just add your SLA parameter to your `default_args` and you should
get a single email with the list of tasks that didn't make the SLA soon
after the timedelta is expired.

Max

On Tue, Sep 20, 2016 at 5:36 PM, Ali Naqvi  wrote:

> Hi folks,
> I know that currently SLAs are implemented for tasks via a simple
>
> ```
> sla=datetime.timedelta(hours=1)
> ```
>
> , but I was wondering is there a way to implement a dag level SLA in
> airflow.
>
> Best Regards,
> Ali
>


DAG level service level agreements

2016-09-20 Thread Ali Naqvi
Hi folks,
I know that currently SLAs are implemented for tasks via a simple

```
sla=datetime.timedelta(hours=1)
```

, but I was wondering is there a way to implement a dag level SLA in
airflow.

Best Regards,
Ali