We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 1778130 commit d824113Copy full SHA for d824113
sentry_sdk/scope.py
@@ -1047,7 +1047,7 @@ def start_transaction(
1047
# at this point, but in order to not have broken traces we make
1048
# an exception here
1049
propagation_context = self.get_active_propagation_context()
1050
- if propagation_context:
+ if propagation_context and transaction.sample_rate is not None:
1051
dsc = propagation_context.dynamic_sampling_context
1052
if dsc is not None:
1053
dsc["sample_rate"] = str(transaction.sample_rate)
0 commit comments