Skip to content

Commit 8010e46

Browse files
committed
make it possible to gen a sample rand
1 parent 507c21f commit 8010e46

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

tests/test_dsc.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -269,7 +269,7 @@ def my_traces_sampler(sampling_context):
269269
),
270270
( # 4 traces_sampler overrides incoming (incoming not sampled)
271271
{
272-
"incoming_sample_rate": 1.0,
272+
"incoming_sample_rate": 0.9,
273273
"incoming_sampled": "false",
274274
"sentry_trace_header_parent_sampled": 0,
275275
"use_local_traces_sampler": True,
@@ -317,7 +317,7 @@ def my_traces_sampler(sampling_context):
317317
),
318318
( # 8 traces_sampler overrides incoming (traces_sample_rate not set) (incoming not sampled)
319319
{
320-
"incoming_sample_rate": 1.0,
320+
"incoming_sample_rate": 0.9,
321321
"incoming_sampled": "false",
322322
"sentry_trace_header_parent_sampled": 0,
323323
"use_local_traces_sampler": True,

0 commit comments

Comments
 (0)