Added documentation for enabling sentry.io integration

pull/540/head
Daniel Vydra 2023-03-13 13:42:12 +11:00
rodzic 542678cab5
commit e6cc20e16c
1 zmienionych plików z 15 dodań i 0 usunięć

Wyświetl plik

@ -212,3 +212,18 @@ uses to show remote images without leaking user information.
If you don't want to use a CDN but still want a performance improvement, a
read-through cache that respects ``Cache-Control``, like Varnish, will
also help if placed in front of Takahē.
Sentry.io integration
---------------------
Takahē can optionally integrate with https://sentry.io for collection of raised
exceptions from the webserver or Stator.
To enable this, set the ``TAKAHE_SENTRY_DSN`` environment variable to the value
found in your sentry project:
``https://<org>.sentry.io/settings/projects/<project>/keys/``
Other Sentry configuration can be controlled through environment variables
found in ``takahe/settings.py``. See the Sentry python documentation for
details: ``https://docs.sentry.io/platforms/python/configuration/options/``