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
- Host: GitHub
- URL: https://github.com/airflow-laminar/airflow-priority
- Owner: airflow-laminar
- License: apache-2.0
- Created: 2024-07-30T17:35:19.000Z (almost 2 years ago)
- Default Branch: main
- Last Pushed: 2025-04-27T15:27:11.000Z (about 1 year ago)
- Last Synced: 2025-04-27T16:28:33.057Z (about 1 year ago)
- Topics: airflow, alerting, alerts, apache-airflow, datadog, discord, newrelic, python, scheduler, slack
- Language: Python
- Homepage: https://airflow-laminar.github.io/airflow-priority/
- Size: 399 KB
- Stars: 4
- Watchers: 1
- Forks: 1
- Open Issues: 6
-
Metadata Files:
- Readme: README.md
- License: LICENSE
- Code of conduct: .github/CODE_OF_CONDUCT.md
Awesome Lists containing this project
- awesome-apache-airflow - airflow-priority - Priority Tags (P1, P2, etc) for Airflow DAGs with automated alerting to Datadog, New Relic, Slack, Discord, and more (Libraries, Hooks, Utilities)
README
# airflow-priority
Priority Tags for Airflow Dags
[](https://github.com/airflow-laminar/airflow-priority/actions/workflows/build.yaml)
[](https://codecov.io/gh/airflow-laminar/airflow-priority)
[](https://github.com/airflow-laminar/airflow-priority)
[](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 |
| :----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | :--------------------------------------------------------- | :---------------------------------------------------------------------------------- |
|
| `airflow.priority.p{1,2,3,4,5}.{failed,succeeded,running}` | [Link](https://airflow-laminar.github.io/airflow-priority/docs/src/datadog.html) |
|
| `N/A` | [Link](https://airflow-laminar.github.io/airflow-priority/docs/src/discord.html) |
|
| `airflow.priority.p{1,2,3,4,5}.{failed,succeeded,running}` | [Link](https://airflow-laminar.github.io/airflow-priority/docs/src/logfire.html) |
|
| `N/A` | [Link](https://airflow-laminar.github.io/airflow-priority/docs/src/pagerduty.html) |
|
| `airflow.priority.p{1,2,3,4,5}.{failed,succeeded,running}` | [Link](https://airflow-laminar.github.io/airflow-priority/docs/src/newrelic.html) |
|
| `N/A` | [Link](https://airflow-laminar.github.io/airflow-priority/docs/src/opsgenie.html) |
|
| `N/A` | [Link](https://airflow-laminar.github.io/airflow-priority/docs/src/slack.html) |
|
| `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).