From 902891ff9e59b065c9277d9c49cf49af8fab7003 Mon Sep 17 00:00:00 2001 From: Daniel Vydra Date: Tue, 14 Mar 2023 03:49:07 +1100 Subject: [PATCH] Simple docs for setting up a sentry.io installation (#540) --- docs/tuning.rst | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) diff --git a/docs/tuning.rst b/docs/tuning.rst index 51fe86f..aae181f 100644 --- a/docs/tuning.rst +++ b/docs/tuning.rst @@ -212,3 +212,19 @@ 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://.sentry.io/settings/projects//keys/`` + +Other Sentry configuration can be controlled through environment variables +found in ``takahe/settings.py``. See the +`Sentry python documentation `_ +for details. \ No newline at end of file