wip trace cache and middleware

This commit is contained in:
lebaudantoine
2026-09-08 23:20:36 +02:00
parent bf76ab1ddf
commit 38424cfa8f
+7 -1
View File
@@ -1211,7 +1211,13 @@ class Base(Configuration):
dsn=cls.SENTRY_DSN,
environment=cls.__name__.lower(), # build, test, development, production
release=get_release(),
integrations=[DjangoIntegration()],
integrations=[
DjangoIntegration(
transaction_style="url",
middleware_spans=True,
cache_spans=True,
)
],
)
sentry_sdk.set_tag("application", "backend")