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
+7-3Lines changed: 7 additions & 3 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -156,9 +156,13 @@ Looking to upgrade from Sentry SDK 2.x to 3.x? Here's a comprehensive list of wh
156
156
-`profiles_sample_rate` and `profiler_mode` were removed from options available via `_experiments`. Use the top-level `profiles_sample_rate` and `profiler_mode` options instead.
157
157
-`Transport.capture_event` has been removed. Use `Transport.capture_envelope` instead.
158
158
- Function transports are no longer supported. Subclass the `Transport` instead.
159
-
-`start_transaction` (`start_span`) no longer takes an explicit `sampled` argument.
160
-
-`start_transaction` (`start_span`) no longer takes an explicit `description` argument. Use `name` instead.
161
-
-`start_transaction` (`start_span`) no longer takes an explicit `trace_id` or `span_id` argument. Use `continue_trace` for propagation from headers or environment variables.
159
+
-`start_transaction` (`start_span`) no longer takes the following arguments:
160
+
-`sampled`: use a `traces_sampler` to adjust the sampling rate
161
+
-`description`: use `name` instead
162
+
-`trace_id`, `baggage`: use `continue_trace` for propagation from headers or environment variables
163
+
-`same_process_as_parent`
164
+
-`span_id`
165
+
-`parent_span_id`: you can supply a `parent_span` instead
0 commit comments