This is an automated email from the ASF dual-hosted git repository. jedcunningham pushed a commit to branch v2-2-test in repository https://gitbox.apache.org/repos/asf/airflow.git
commit 713a807f0f7b948387945e763cab8a7646fd35a8 Author: Alan Ma <[email protected]> AuthorDate: Wed Jan 5 00:51:00 2022 -0800 Docs: Clarify ``sentry_on`` value is not quoted with example (#20639) Clarify the value for ``sentry_on`` is not quoted by providing an example. (cherry picked from commit e8b5ab9efe93f826a2b521b5d1cac0404354c3b4) --- docs/apache-airflow/logging-monitoring/errors.rst | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/docs/apache-airflow/logging-monitoring/errors.rst b/docs/apache-airflow/logging-monitoring/errors.rst index 7a5df12..9f4256a 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://[email protected]/123 .. note::
