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
+1-2Lines changed: 1 addition & 2 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -10,7 +10,7 @@ Looking to upgrade from Sentry SDK 2.x to 3.x? Here's a comprehensive list of wh
10
10
11
11
- The SDK now supports Python 3.7 and higher.
12
12
-`sentry_sdk.start_span` now only takes keyword arguments.
13
-
-`sentry_sdk.start_span` no longer takes an explicit `span` argument.
13
+
-`sentry_sdk.start_transaction`/`sentry_sdk.start_span` no longer takes the following arguments: `span`, `parent_sampled`, `trace_id`, `span_id` or `parent_span_id`.
14
14
- The `Span()` constructor does not accept a `hub` parameter anymore.
15
15
-`Span.finish()` does not accept a `hub` parameter anymore.
16
16
- The `Profile()` constructor does not accept a `hub` parameter anymore.
@@ -22,7 +22,6 @@ Looking to upgrade from Sentry SDK 2.x to 3.x? Here's a comprehensive list of wh
22
22
- The `sampling_context` argument of `traces_sampler` now additionally contains all span attributes known at span start.
23
23
- The `sampling_context` argument of `traces_sampler` doesn't contain the `wsgi_environ` object anymore for WSGI frameworks. Instead, the individual properties are accessible as `wsgi_environ.PATH_INFO`... If you need more data accessible in the `traces_sampler`, provide additional `attributes` to your `start_span`. # TODO
24
24
25
-
26
25
### Removed
27
26
28
27
- Spans no longer have a `description`. Use `name` instead.
0 commit comments