Airflow Error Tracking using Sentry

Table of Contents

1. Install Sentry dependency for Airflow

2. Set up Your Account on

3. Setup airflow.cfg

4. DAG File

5. Error Tracking using Sentry

6. What’s Next?

Install sentry dependency for airflow:

pip install ‘apache-airflow[sentry]’

Set Up your Account on

New Project in Sentry
DSN Key partially hidden from our side

Set Up airflow.cfg

airflow.cfg file

DAG File

Error Tracking using Sentry

Webserver Error
Sentry Dashboard reporting Error
Sentry Email Error Reporting

What’s Next?



Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store