Skip to content

Commit

Permalink
Update lib/datadog/tracing/tracer.rb
Browse files Browse the repository at this point in the history
  • Loading branch information
ZStriker19 authored Sep 25, 2024
1 parent 7203b51 commit 529895a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/datadog/tracing/tracer.rb
Original file line number Diff line number Diff line change
Expand Up @@ -496,7 +496,7 @@ def flush_trace(trace_op)
trace = @trace_flush.consume!(trace_op)
if trace && !trace.empty?
# check if trace is not sampled
sample_trace(trace) unless trace.sampled?
sample_trace(trace) unless trace.priority_sampled?
write(trace)
end
rescue StandardError => e
Expand Down

0 comments on commit 529895a

Please sign in to comment.