8000 feat(scope): Replace `transaction` with `root_span` (#4263) · getsentry/sentry-python@ab802b5 · GitHub
[go: up one dir, main page]

Skip to content

Commit ab802b5

Browse files
feat(scope): Replace transaction with root_span (#4263)
Closes #4235 --------- Co-authored-by: Ivana Kellyer <ivana.kellyer@sentry.io>
1 parent b30574a commit ab802b5

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

MIGRATION_GUIDE.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -162,7 +162,7 @@ Looking to upgrade from Sentry SDK 2.x to 3.x? Here's a comprehensive list of wh
162162
- `same_process_as_parent`
163163
- `span_id`
164164
- `parent_span_id`: you can supply a `parent_span` instead
165-
- The `Scope.transaction` property has been removed. To obtain the root span, use `Scope.root_span`. To set the root span's name, use `Scope.set_transaction_name()`.
165+
- The `Scope.transaction` property has been removed. To obtain the root span (previously transaction), use `Scope.root_span`. To set the root span's (transaction's) name, use `Scope.set_transaction_name()`.
166166
- Passing a list or `None` for `failed_request_status_codes` in the Starlette integration is no longer supported. Pass a set of integers instead.
167167
- The `span` argument of `Scope.trace_propagation_meta` is no longer supported.
168168
- Setting `Scope.user` directly is no longer supported. Use `Scope.set_user()` instead.

0 commit comments

Comments
 (0)
0