← All platforms

Apache Airflow error tracking

A red task in a DAG is the beginning of the investigation. Airflow’s Sentry integration sends the error details to Telebugs on your server.

~/hoofnotes  pip install "apache-airflow[sentry]"
~/hoofnotes  nvim airflow.cfg
[sentry]
# Copy the complete Telebugs DSN, key and path included.
sentry_on = True
sentry_dsn = YOUR_TELEBUGS_DSN
~/hoofnotes  airflow scheduler

Space pauses or resumes. R replays. Escape shows the complete setup.

Hang on, I already use Sentry

Keep Airflow’s Sentry integration and change its destination to your Telebugs DSN. Your error reports stay on your server. You don’t need a Sentry account.

Will I know which DAG was running?

Airflow can include DAG and task information with its error reports. Telebugs keeps the tags and breadcrumbs it receives alongside the exception.

Does this replace the Airflow UI?

No. Keep using Airflow to schedule, inspect, and rerun your workflows. Telebugs is where you investigate the exceptions those workflows report.