```{toctree}
---
caption: ""
maxdepth: 2
hidden: true
---
docs/src/introduction.md
docs/src/datadog.md
docs/src/discord.md
docs/src/newrelic.md
docs/src/opsgenie.md
docs/src/logfire.md
docs/src/slack.md
docs/src/symphony.md
docs/src/cloudwatch.md
docs/src/API.md
```
# 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.