From 92c5454202315fd28bdf57b7044cee6e5e95b4e5 Mon Sep 17 00:00:00 2001 From: Alexander Alderman Webb Date: Thu, 11 Dec 2025 15:10:22 +0100 Subject: [PATCH] chore(django): Disable middleware spans by default --- sentry_sdk/integrations/django/__init__.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sentry_sdk/integrations/django/__init__.py b/sentry_sdk/integrations/django/__init__.py index 5a808a53cb..41aaecc71a 100644 --- a/sentry_sdk/integrations/django/__init__.py +++ b/sentry_sdk/integrations/django/__init__.py @@ -130,7 +130,7 @@ class DjangoIntegration(Integration): def __init__( self, transaction_style="url", # type: str - middleware_spans=True, # type: bool + middleware_spans=False, # type: bool signals_spans=True, # type: bool cache_spans=False, # type: bool db_transaction_spans=False, # type: bool