Skip to content

Commit

Permalink
Update docs errors.rst - Mention sentry "transport" configuration opt…
Browse files Browse the repository at this point in the history
…ion (apache#34912)

Added reference to sentry "transport" configuration option and how to set it up.
  • Loading branch information
luispedroemg authored Oct 15, 2023
1 parent dd59e3e commit 9f55fd6
Showing 1 changed file with 8 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,14 @@ The ``before_send`` option can be used to modify or drop events before they are
[sentry]
before_send = path.to.my.sentry.before_send
You can supply `additional configuration options <https://docs.sentry.io/platforms/python/configuration/options>`__ based on the Python platform via ``[sentry]`` section. Unsupported options: ``integrations``, ``in_app_include``, ``in_app_exclude``, ``ignore_errors``, ``before_breadcrumb``, ``transport``.
The ``transport`` option can be used to change the transport used to send events to Sentry, and possibly other Systems. To set this option, provide a dotted path to a Transport class that the sentry SDK should be configured to use.

.. code-block:: ini
[sentry]
transport = path.to.my.sentry.Transport
You can supply `additional configuration options <https://docs.sentry.io/platforms/python/configuration/options>`__ based on the Python platform via ``[sentry]`` section. Unsupported options: ``integrations``, ``in_app_include``, ``in_app_exclude``, ``ignore_errors``, ``before_breadcrumb``.

Tags
-----
Expand Down

0 comments on commit 9f55fd6

Please sign in to comment.