Skip to content

Commit

Permalink
remove sampling at span start
Browse files Browse the repository at this point in the history
  • Loading branch information
ZStriker19 committed Sep 25, 2024
1 parent 4fff83a commit f216d22
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 @@ -347,7 +347,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 f216d22

Please sign in to comment.