Exposes dag and task based metrics from Airflow to a Prometheus compatible endpoint.
Install project requirements:
pip3 install prometheus_client
Switch to the root of your Airflow project.
git clone https://github.com/epoch8/airflow-exporter plugins/prometheus_exporter
That's it. You're done.
Metrics will be available at
http://<your_airflow_host_and_port>/admin/metrics
Labels:
dag_id
task_id
status
Value: number of tasks in specific status.
Labels:
dag_id
status
Value: number of dags in specific status.
Distributed under the BSD license. See LICENSE for more information.