Skip to content

Commit 28c0a08

Browse files
committed
update migration guide
1 parent 205907b commit 28c0a08

File tree

2 files changed

+2
-1
lines changed

2 files changed

+2
-1
lines changed

MIGRATION_GUIDE.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,7 @@ Looking to upgrade from Sentry SDK 2.x to 3.x? Here's a comprehensive list of wh
99
### Changed
1010

1111
- The SDK now supports Python 3.7 and higher.
12+
- The default of `traces_sample_rate` changed to `0`. Meaning: Incoming traces will be continued by default. For example, if your frontend sends a `sentry-trace/baggage` headers pair, your SDK will create Spans and send them to Sentry. (The default used to be `None` meaning by default no Spans where created, no matter what headers the frontend sent to your project.) See also: https://docs.sentry.io/platforms/python/configuration/options/#traces_sample_rate
1213
- `sentry_sdk.start_span` now only takes keyword arguments.
1314
- `sentry_sdk.start_transaction`/`sentry_sdk.start_span` no longer takes the following arguments: `span`, `parent_sampled`, `trace_id`, `span_id` or `parent_span_id`.
1415
- You can no longer change the sampled status of a span with `span.sampled = False` after starting it.

tests/tracing/test_trace_propagation.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@
2222
#
2323
# Proper high level testing for trace propagation.
2424
# Testing the matrix of test cases described here:
25-
# https://docs.google.com/spreadsheets/d/1IyOTYIC2bwu6HeHrxbLHAm6Lq44atVzf2TDJoPCMDZA/edit?gid=0#gid=0
25+
# https://develop.sentry.dev/sdk/telemetry/traces/trace-propagation-cheat-sheet/
2626
#
2727

2828

0 commit comments

Comments
 (0)