Skip to content

Commit

Permalink
Merge branch 'zachg/remove_sampling_at_span_start' into zachg/lazy_sa…
Browse files Browse the repository at this point in the history
…mpling
  • Loading branch information
ZStriker19 committed Sep 25, 2024
2 parents 630e6f2 + f216d22 commit a4d4615
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion lib/datadog/tracing/tracer.rb
Original file line number Diff line number Diff line change
Expand Up @@ -349,7 +349,6 @@ def bind_trace_events!(trace_op)
events.span_before_start.subscribe do |event_span_op, event_trace_op|
event_trace_op.service ||= @default_service
event_span_op.service ||= @default_service
sample_trace(event_trace_op) if event_span_op && event_span_op.parent_id == 0
end

events.span_finished.subscribe do |event_span, event_trace_op|
Expand Down

0 comments on commit a4d4615

Please sign in to comment.