An open API service indexing awesome lists of open source software.

https://github.com/airflow-laminar/airflow-priority

Priority Tags for Airflow Dags
https://github.com/airflow-laminar/airflow-priority

airflow alerting alerts apache-airflow datadog discord newrelic python scheduler slack

Last synced: 10 months ago
JSON representation

Priority Tags for Airflow Dags

Awesome Lists containing this project

README

          

# airflow-priority

Priority Tags for Airflow Dags

[![Build Status](https://github.com/airflow-laminar/airflow-priority/actions/workflows/build.yaml/badge.svg?branch=main&event=push)](https://github.com/airflow-laminar/airflow-priority/actions/workflows/build.yaml)
[![codecov](https://codecov.io/gh/airflow-laminar/airflow-priority/branch/main/graph/badge.svg)](https://codecov.io/gh/airflow-laminar/airflow-priority)
[![License](https://img.shields.io/github/license/airflow-laminar/airflow-priority)](https://github.com/airflow-laminar/airflow-priority)
[![PyPI](https://img.shields.io/pypi/v/airflow-priority.svg)](https://pypi.python.org/pypi/airflow-priority)

## Overview

This repo provides an [Airflow Plugin](https://airflow.apache.org/docs/apache-airflow/stable/authoring-and-scheduling/plugins.html) for priority-driven DAG failure alerting.
In layman's terms, one need only add a [tag](https://airflow.apache.org/docs/apache-airflow/stable/howto/add-dag-tags.html) to their DAG in `P1, P2, P3, P4, P5`, where `P1` corresponds to highest priority and `P5` corresponds to lowest, and that dag will send a notification to a backend integration.

[See the documentation for more information on getting started](https://airflow-laminar.github.io/airflow-priority/docs/src/introduction.html)

## Integrations

| Integration | Metric / Tag | Docs |
| :----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | :--------------------------------------------------------- | :---------------------------------------------------------------------------------- |
| datadog logo | `airflow.priority.p{1,2,3,4,5}.{failed,succeeded,running}` | [Link](https://airflow-laminar.github.io/airflow-priority/docs/src/datadog.html) |
| discord logo | `N/A` | [Link](https://airflow-laminar.github.io/airflow-priority/docs/src/discord.html) |
| logfire logo | `airflow.priority.p{1,2,3,4,5}.{failed,succeeded,running}` | [Link](https://airflow-laminar.github.io/airflow-priority/docs/src/logfire.html) |
| pagerduty logo | `N/A` | [Link](https://airflow-laminar.github.io/airflow-priority/docs/src/pagerduty.html) |
| newrelic logo | `airflow.priority.p{1,2,3,4,5}.{failed,succeeded,running}` | [Link](https://airflow-laminar.github.io/airflow-priority/docs/src/newrelic.html) |
| opsgenie logo | `N/A` | [Link](https://airflow-laminar.github.io/airflow-priority/docs/src/opsgenie.html) |
| slack logo | `N/A` | [Link](https://airflow-laminar.github.io/airflow-priority/docs/src/slack.html) |
| symphony logo | `N/A` | [Link](https://airflow-laminar.github.io/airflow-priority/docs/src/symphony.html) |
| [AWS Cloudwatch](https://aws.amazon.com/cloudwatch/) | `airflow.priority.p{1,2,3,4,5}.{failed,succeeded,running}` | [Link](https://airflow-laminar.github.io/airflow-priority/docs/src/cloudwatch.html) |

## Installation

You can install from pip:

```bash
pip install airflow-priority
```

Or via conda:

```bash
conda install airflow-priority -c conda-forge
```

## License

This software is licensed under the Apache 2.0 license. See the [LICENSE](LICENSE) file for details.

> [!NOTE]
> This library was generated using [copier](https://copier.readthedocs.io/en/stable/) from the [Base Python Project Template repository](https://github.com/python-project-templates/base).