Skip to content

Commit 4fa175a

Browse files
committed
Updated some missing pieces
1 parent d6aa086 commit 4fa175a

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

docs/platforms/python/migration/2.x-to-3.x.mdx

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -83,7 +83,7 @@ Tracing in the Sentry Python SDK `3.x` is powered by [OpenTelemetry](https://ope
8383

8484
Any spans without a parent span will become transactions by default. If you want to avoid promoting a span without a parent to a transaction, you can pass the `only_if_parent=True` keyword argument to `sentry_sdk.start_span()`.
8585

86-
`sentry_sdk.start_transaction()` and `sentry_sdk.start_span()` no longer take the following arguments: `trace_id`, `baggage`, `span_id`, `parent_span_id`. Use `sentry_sdk.continue_trace()` for propagating trace data.
86+
`sentry_sdk.start_transaction()` and `sentry_sdk.start_span()` no longer take the following arguments: `trace_id`, `baggage`, `span_id`, `parent_span_id`, `custom_sampling_context` (see below). Use `sentry_sdk.continue_trace()` for propagating trace data.
8787

8888
`sentry_sdk.continue_trace()` no longer returns a `Transaction` and is now a context manager. To continue a trace from headers or environment variables, start a new span inside `sentry_sdk.continue_trace()`:
8989

@@ -300,6 +300,10 @@ sentry_sdk.init(
300300
)
301301
```
302302

303+
### Threading
304+
305+
The parameter `propagate_hub` has been removed from `ThreadingIntegration`. Use the new `propagate_scope` parameter instead. (If you had `TreadingIntegration(propagate_hub=True)` you can remove the parameter)
306+
303307
### clickhouse-driver
304308

305309
The query being executed is now available under the `db.query.text` span attribute (only if `send_default_pii` is `True`).

0 commit comments

Comments
 (0)