diff --git a/docs/platforms/python/migration/2.x-to-3.x.mdx b/docs/platforms/python/migration/2.x-to-3.x.mdx index 4cfca4d28ccf2..e149e3de59f94 100644 --- a/docs/platforms/python/migration/2.x-to-3.x.mdx +++ b/docs/platforms/python/migration/2.x-to-3.x.mdx @@ -83,7 +83,7 @@ Tracing in the Sentry Python SDK `3.x` is powered by [OpenTelemetry](https://ope 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()`. -`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. +`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. `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()`: @@ -300,6 +300,10 @@ sentry_sdk.init( ) ``` +### Threading + +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) + ### clickhouse-driver The query being executed is now available under the `db.query.text` span attribute (only if `send_default_pii` is `True`).