report

Definition

Shows the DAG folder loading report.

Usage

$ airflow dags report [-h] [-o table, json, yaml, plain] [-S SUBDIR] [-v]

Arguments

Parameter Description

-S, --subdir

File or directory location for DAGs. Defaults to [AIRFLOW_HOME]/dags, where [AIRFLOW_HOME] is the value set for AIRFLOW_HOME config in airflow.cfg

-o, --output

Output format. Possible values: table, json, yaml, plain. Default: table

-h, --help

Print out the help manual for this command

-v, --verbose

Make logging output more verbose

Examples

To display the DAG loading report, run:

$ airflow dags report

Output example:

======================================================+================+=========+==========+=======================================================
/opt/airflow/lib/python3.10/site-packages/airflow/exa | 0:00:00.424125 | 0       | 0        |
mple_dags/plugins/workday.py                          |                |         |          |
/opt/airflow/lib/python3.10/site-packages/airflow/exa | 0:00:00.201374 | 1       | 7        | example_kubernetes_executor
mple_dags/example_kubernetes_executor.py              |                |         |          |
/opt/airflow/lib/python3.10/site-packages/airflow/exa | 0:00:00.031733 | 1       | 6        | example_xcom
mple_dags/example_xcom.py                             |                |         |          |
/opt/airflow/lib/python3.10/site-packages/airflow/exa | 0:00:00.013801 | 1       | 1        | example_params_ui_tutorial
mple_dags/example_params_ui_tutorial.py               |                |         |          |
Found a mistake? Seleсt text and press Ctrl+Enter to report it