Apache Airflow 1.10.6 and above can be set up to send errors to Sentry.
apache-airflow package with the
pip install 'apache-airflow[sentry]'
Then, add your Sentry DSN to your configuration file (ex.
airflow.cfg) under the
[sentry] sentry_dsn = https://examplePublicKey@o0.ingest.sentry.io/0
Now, Airflow should report errors to Sentry automatically. Airflow will also generate custom tags and breadcrumbs based on the current Directed Acyclic Graph (DAG) and tasks at the time of the error.
Please see the official Apache Airflow documentation for more details.
Please see the official Apache Airflow documentation for the full list of configuration options available.