From 6ff8fdcc494a2e4c30670c575df553c58916c60c Mon Sep 17 00:00:00 2001 From: Jens Langhammer Date: Wed, 15 Dec 2021 15:49:08 +0100 Subject: [PATCH] root: enable threading integration in sentry Signed-off-by: Jens Langhammer --- authentik/root/settings.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/authentik/root/settings.py b/authentik/root/settings.py index e1bd798ea..e22134f7c 100644 --- a/authentik/root/settings.py +++ b/authentik/root/settings.py @@ -28,6 +28,7 @@ from sentry_sdk.integrations.boto3 import Boto3Integration from sentry_sdk.integrations.celery import CeleryIntegration from sentry_sdk.integrations.django import DjangoIntegration from sentry_sdk.integrations.redis import RedisIntegration +from sentry_sdk.integrations.threading import ThreadingIntegration from authentik import ENV_GIT_HASH_KEY, __version__ from authentik.core.middleware import structlog_add_request_id @@ -424,6 +425,7 @@ if _ERROR_REPORTING: CeleryIntegration(), RedisIntegration(), Boto3Integration(), + ThreadingIntegration(propagate_hub=True), ], before_send=before_send, release=f"authentik@{__version__}",