diff --git a/docs/apache-airflow/logging-monitoring/errors.rst b/docs/apache-airflow/logging-monitoring/errors.rst index 7a5df129585fa..9f4256ae04c0e 100644 --- a/docs/apache-airflow/logging-monitoring/errors.rst +++ b/docs/apache-airflow/logging-monitoring/errors.rst @@ -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::