Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 3 additions & 2 deletions docs/apache-airflow/logging-monitoring/errors.rst
Original file line number Diff line number Diff line change
Expand Up @@ -29,13 +29,14 @@ First you must install sentry requirement:

pip install 'apache-airflow[sentry]'

After that, you need to enable the integration by set ``sentry_on`` option in ``[sentry]`` section to ``"True"``.
After that, you need to enable the integration by set ``sentry_on`` option in ``[sentry]`` section to ``True``.

Add your ``SENTRY_DSN`` to your configuration file e.g. ``airflow.cfg`` in ``[sentry]`` section. Its template resembles the following: ``'{PROTOCOL}://{PUBLIC_KEY}@{HOST}/{PROJECT_ID}'``
Add your ``SENTRY_DSN`` to your configuration file e.g. ``airflow.cfg`` in ``[sentry]`` section. Its template resembles the following: ``{PROTOCOL}://{PUBLIC_KEY}@{HOST}/{PROJECT_ID}``

.. code-block:: ini

[sentry]
sentry_on = True
sentry_dsn = http://foo@sentry.io/123

.. note::
Expand Down