We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 5fabc3d commit 4734cd7Copy full SHA for 4734cd7
docs/platforms/python/migration/2.x-to-3.x.mdx
@@ -86,7 +86,7 @@ If you start a span, it will automatically become the child of the currently act
86
```python
87
with sentry_sdk.start_span(name="parent"):
88
with sentry_sdk.start_span(name="child-of-parent"):
89
- with new_trace():
+ with sentry_sdk.new_trace():
90
# The first span started in this context manager will become
91
# a new transaction (root span) with its own trace
92
with sentry_sdk.start_span(name="new-parent"):
0 commit comments