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
Copy file name to clipboardExpand all lines: docs/platforms/python/migration/2.x-to-3.x.mdx
+3-3Lines changed: 3 additions & 3 deletions
Original file line number
Diff line number
Diff line change
@@ -25,7 +25,7 @@ The `enable_tracing` option was removed. Use [`traces_sample_rate`](/platforms/p
25
25
sentry_sdk.init(
26
26
-enable_tracing=True,
27
27
+traces_sample_rate=1.0,
28
-
)
28
+
)
29
29
```
30
30
31
31
The deprecated `propagate_traces` option was removed. Use [`trace_propagation_targets`](/platforms/python/configuration/options/#trace_propagation_targets) instead.
@@ -35,7 +35,7 @@ The deprecated `propagate_traces` option was removed. Use [`trace_propagation_ta
35
35
# don't propagate trace info downstream
36
36
-propagate_traces=False,
37
37
+trace_propagation_targets=[],
38
-
)
38
+
)
39
39
```
40
40
41
41
Note that this only affects the global SDK option. The `propagate_traces` option of the Celery integration remains unchanged.
@@ -50,7 +50,7 @@ The `profiles_sample_rate` and `profiler_mode` options previously nested under `
0 commit comments