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
* Move scope context init outside integration
* Fix ThreadingIntegration by carrying forward span reference in (#3851)
`use_scope`
Since the otel context span reference is the source of truth for the
current active span, we need to explicitly pass the span reference on
the scope through when we use `use_scope` since we are changing context
variables in the other thread.
Also,
* fixes some typing in the original scope
* adds more types to the `contextvars_context` manager
Copy file name to clipboardExpand all lines: MIGRATION_GUIDE.md
+1Lines changed: 1 addition & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -138,6 +138,7 @@ Looking to upgrade from Sentry SDK 2.x to 3.x? Here's a comprehensive list of wh
138
138
-`span.containing_transaction` has been removed. Use `span.root_span` instead.
139
139
-`continue_from_headers`, `continue_from_environ` and `from_traceparent` have been removed, please use top-level API `sentry_sdk.continue_trace` instead.
140
140
-`PropagationContext` constructor no longer takes a `dynamic_sampling_context` but takes a `baggage` object instead.
141
+
-`ThreadingIntegration` no longer takes the `propagate_hub` argument.
0 commit comments