Skip to content

Commit

Permalink
Configure Sentry
Browse files Browse the repository at this point in the history
Added sentry as a dependency and added DSN to airflow.cfg
  • Loading branch information
Lorenzovagliano committed Oct 14, 2024
1 parent 5a98322 commit 1b10ebe
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions airflow.cfg
Original file line number Diff line number Diff line change
Expand Up @@ -887,8 +887,8 @@ smtp_retry_limit = 5
# Unsupported options: ``integrations``, ``in_app_include``, ``in_app_exclude``,
# ``ignore_errors``, ``before_breadcrumb``, ``transport``.
# Enable error reporting to Sentry
sentry_on = false
sentry_dsn =
sentry_on = true
sentry_dsn = https://[email protected]/22

# Dotted path to a before_send function that the sentry SDK should be configured to use.
# before_send =
Expand Down
2 changes: 1 addition & 1 deletion requirements-airflow.txt
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
-c https://raw.githubusercontent.com/apache/airflow/constraints-2.8.3/constraints-3.10.txt
apache-airflow[celery, postgres, redis, cncf.kubernetes]==2.8.3
apache-airflow[celery, postgres, redis, cncf.kubernetes, sentry]==2.8.3

0 comments on commit 1b10ebe

Please sign in to comment.