From e09960e21f12ca3ae3441b0498302de589b108c2 Mon Sep 17 00:00:00 2001 From: Luke Tainton Date: Sun, 21 Apr 2024 15:49:03 +0100 Subject: [PATCH] Remove apm.py --- app/utils/apm.py | 16 ---------------- 1 file changed, 16 deletions(-) delete mode 100644 app/utils/apm.py diff --git a/app/utils/apm.py b/app/utils/apm.py deleted file mode 100644 index 3e34fd5..0000000 --- a/app/utils/apm.py +++ /dev/null @@ -1,16 +0,0 @@ -import sentry_sdk -from sentry_sdk.integrations.stdlib import StdlibIntegration - -from app.utils.config import config - - -if config.sentry_enabled: - apm = sentry_sdk.init( - dsn=config.sentry_dsn, - enable_tracing=True, - environment=config.environment, - integrations=[StdlibIntegration()], - spotlight=True - ) -else: - apm = None