In the airflow DAG UI, I'd like to add a tag for a subset of DAGs. Let's say there is a tag #weekend_runs
that I'd like to add to some specific DAGs.
Is it possible to filter your view of DAGs in the UI based on tags in Airflow? Or do I need to do something hacky like add _weekend_run
to the end of DAG names in order to use fuzzy search and filter out other scripts?
Thanks!
Adding a tag to a DAG is now possible from Airflow 1.10.9
In order to filter DAGs (e.g by team), you can add tags in each dag. The filter is saved in a cookie and can be reset by the reset button.
For example:
Dag File:
dag = DAG('dag', tags=['example'])
UI:
Note: This feature is only available for the RBAC UI (enabled using rbac=True
in [webserver]
section in your airflow.cfg
).
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With