You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: MIGRATION_GUIDE.md
+10-10Lines changed: 10 additions & 10 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -27,6 +27,7 @@ Looking to upgrade from Sentry SDK 2.x to 3.x? Here's a comprehensive list of wh
27
27
- The `sampling_context` argument of `traces_sampler` and `profiles_sampler` now additionally contains all span attributes known at span start.
28
28
- We updated how we handle `ExceptionGroup`s. You will now get more data if ExceptionGroups are appearing in chained exceptions. It could happen that after updating the SDK the grouping of issues change because of this. So eventually you will see the same exception in two Sentry issues (one from before the update, one from after the update)
29
29
- The integration-specific content of the `sampling_context` argument of `traces_sampler` and `profiles_sampler` now looks different.
30
+
30
31
- The Celery integration doesn't add the `celery_job` dictionary anymore. Instead, the individual keys are now available as:
31
32
32
33
| Dictionary keys | Sampling context key | Example |
@@ -93,15 +94,15 @@ Looking to upgrade from Sentry SDK 2.x to 3.x? Here's a comprehensive list of wh
93
94
94
95
-The RQ integration doesn't add the `rq_job` object anymore. Instead, the individual properties of the job and the queue, if available, are accessible as follows:
@@ -162,7 +162,7 @@ Looking to upgrade from Sentry SDK 2.x to 3.x? Here's a comprehensive list of wh
162
162
-`same_process_as_parent`
163
163
-`span_id`
164
164
-`parent_span_id`: you can supply a `parent_span` instead
165
-
-Setting`Scope.transaction`directly is no longer supported. Use `Scope.set_transaction_name()` 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()`.
166
166
- Passing a list or `None` for `failed_request_status_codes` in the Starlette integration is no longer supported. Pass a set of integers instead.
167
167
- The `span` argument of `Scope.trace_propagation_meta` is no longer supported.
168
168
- Setting `Scope.user` directly is no longer supported. Use `Scope.set_user()` instead.
0 commit comments