Skip to content

Commit 43a889d

Browse files
revert change
1 parent 91254c7 commit 43a889d

File tree

1 file changed

+2
-2
lines changed
  • lib/saluki-components/src/transforms/trace_sampler

1 file changed

+2
-2
lines changed

lib/saluki-components/src/transforms/trace_sampler/mod.rs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -371,7 +371,7 @@ impl TraceSampler {
371371
if user_priority > 0 {
372372
// User wants to keep this trace
373373
return (
374-
false,
374+
true,
375375
user_priority,
376376
DECISION_MAKER_MANUAL_PRIORITY,
377377
false,
@@ -386,7 +386,7 @@ impl TraceSampler {
386386
_sampler_name = SamplerName::Error;
387387
let keep = self.error_sampler.sample_error(now, trace, root_span_idx);
388388
if keep {
389-
return (false, PRIORITY_AUTO_KEEP, "", false, Some(root_span_idx));
389+
return (true, PRIORITY_AUTO_KEEP, "", false, Some(root_span_idx));
390390
}
391391
}
392392

0 commit comments

Comments
 (0)