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
chore: Make start_span fail if unsupported args are provided (#4201)
Make the `Span` constructor actually fail if it gets unsupported
arguments, as opposed to silently ignoring them, so that folks get
notified early.
Deprecating some of these in
#4244Closes#4200
Copy file name to clipboardExpand all lines: MIGRATION_GUIDE.md
+5-2Lines changed: 5 additions & 2 deletions
Original file line number
Diff line number
Diff line change
@@ -131,7 +131,6 @@ Looking to upgrade from Sentry SDK 2.x to 3.x? Here's a comprehensive list of wh
131
131
132
132
### Removed
133
133
134
-
- Spans no longer have a `description`. Use `name` instead.
135
134
- Dropped support for Python 3.6.
136
135
- The `enable_tracing``init` option has been removed. Configure `traces_sample_rate` directly.
137
136
- The `propagate_traces``init` option has been removed. Use `trace_propagation_targets` instead.
@@ -157,11 +156,15 @@ Looking to upgrade from Sentry SDK 2.x to 3.x? Here's a comprehensive list of wh
157
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.
158
157
-`Transport.capture_event` has been removed. Use `Transport.capture_envelope` instead.
159
158
- Function transports are no longer supported. Subclass the `Transport` instead.
159
+
-`start_transaction` (`start_span`) no longer takes the following arguments:
160
+
-`trace_id`, `baggage`: use `continue_trace` for propagation from headers or environment variables
161
+
-`same_process_as_parent`
162
+
-`span_id`
163
+
-`parent_span_id`: you can supply a `parent_span` instead
160
164
- Setting `Scope.transaction` directly is no longer supported. Use `Scope.set_transaction_name()` instead.
161
165
- Passing a list or `None` for `failed_request_status_codes` in the Starlette integration is no longer supported. Pass a set of integers instead.
162
166
- The `span` argument of `Scope.trace_propagation_meta` is no longer supported.
163
167
- Setting `Scope.user` directly is no longer supported. Use `Scope.set_user()` instead.
164
-
-`start_transaction` (`start_span`) no longer takes a `baggage` argument. Use the `continue_trace()` context manager instead to propagate baggage.
0 commit comments