File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed
Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change 33## 2.48.0
44
55Middleware spans are now disabled by default in Django, Starlette and FastAPI integrations. Set the `middleware_spans` integration-level
6- option to enable capturing individual spans per middleware layer. To record Django middleware spans, for example, configure as follows
6+ option to capture individual spans per middleware layer. To record Django middleware spans, for example, configure as follows
77
88```python
99 import sentry_sdk
@@ -12,7 +12,7 @@ option to enable capturing individual spans per middleware layer. To record Djan
1212 sentry_sdk.init(
1313 dsn="<your-dsn>",
1414 integrations=[
15- DjangoIntegration(middleware_spans=True),
15+ DjangoIntegration(middleware_spans=True),
1616 ],
1717 )
1818```
You can’t perform that action at this time.
0 commit comments