Skip to content

Commit 32c147e

Browse files
authored
fix(dynamic-sampling):Set low volume transaction boost default to True (#46179)
1 parent 565f9c0 commit 32c147e

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

src/sentry/dynamic_sampling/rules/utils.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -49,7 +49,7 @@ class RuleType(Enum):
4949
},
5050
{"id": RuleType.IGNORE_HEALTH_CHECKS_RULE.value, "active": True},
5151
{"id": RuleType.BOOST_KEY_TRANSACTIONS_RULE.value, "active": True},
52-
{"id": RuleType.BOOST_LOW_VOLUME_TRANSACTIONS.value, "active": False},
52+
{"id": RuleType.BOOST_LOW_VOLUME_TRANSACTIONS.value, "active": True},
5353
]
5454
RESERVED_IDS = {
5555
RuleType.UNIFORM_RULE: 1000,

tests/sentry/api/endpoints/test_project_details.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1336,7 +1336,7 @@ def test_get_dynamic_sampling_biases_manually_set_biases(self):
13361336
},
13371337
{"id": "ignoreHealthChecks", "active": True},
13381338
{"id": "boostKeyTransactions", "active": True},
1339-
{"id": "boostLowVolumeTransactions", "active": False},
1339+
{"id": "boostLowVolumeTransactions", "active": True},
13401340
]
13411341

13421342
def test_get_dynamic_sampling_biases_with_previously_assigned_biases(self):
@@ -1363,7 +1363,7 @@ def test_get_dynamic_sampling_biases_with_previously_assigned_biases(self):
13631363
},
13641364
{"id": "ignoreHealthChecks", "active": True},
13651365
{"id": "boostKeyTransactions", "active": True},
1366-
{"id": "boostLowVolumeTransactions", "active": False},
1366+
{"id": "boostLowVolumeTransactions", "active": True},
13671367
]
13681368

13691369
def test_dynamic_sampling_bias_activation(self):

0 commit comments

Comments
 (0)