From 2a6b80d2b965b6cd754ec9dd7bac1cea0e65f378 Mon Sep 17 00:00:00 2001 From: Alan Ma Date: Mon, 3 Jan 2022 11:44:47 -0800 Subject: [PATCH 1/2] Clarify value is not quoted and add example --- docs/apache-airflow/logging-monitoring/errors.rst | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/docs/apache-airflow/logging-monitoring/errors.rst b/docs/apache-airflow/logging-monitoring/errors.rst index 7a5df129585fa..c20e754df3991 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}'`` .. code-block:: ini [sentry] + sentry_on = True sentry_dsn = http://foo@sentry.io/123 .. note:: From 7f5c4edc2177c26c22a90a85027fb3d39958139e Mon Sep 17 00:00:00 2001 From: Alan Ma Date: Tue, 4 Jan 2022 12:12:55 -0800 Subject: [PATCH 2/2] Remove single quotes --- docs/apache-airflow/logging-monitoring/errors.rst | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/docs/apache-airflow/logging-monitoring/errors.rst b/docs/apache-airflow/logging-monitoring/errors.rst index c20e754df3991..9f4256ae04c0e 100644 --- a/docs/apache-airflow/logging-monitoring/errors.rst +++ b/docs/apache-airflow/logging-monitoring/errors.rst @@ -29,9 +29,9 @@ 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