Skip to content

Commit fb74530

Browse files
committed
.
1 parent bad71c7 commit fb74530

File tree

1 file changed

+7
-3
lines changed

1 file changed

+7
-3
lines changed

MIGRATION_GUIDE.md

Lines changed: 7 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -156,9 +156,13 @@ Looking to upgrade from Sentry SDK 2.x to 3.x? Here's a comprehensive list of wh
156156
- `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.
157157
- `Transport.capture_event` has been removed. Use `Transport.capture_envelope` instead.
158158
- 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
162166

163167

164168
### Deprecated

0 commit comments

Comments
 (0)