Skip to content

Commit

Permalink
Fix error on should_skip_distributed_tracing? on ethon instrumentation
Browse files Browse the repository at this point in the history
  • Loading branch information
vpellan committed Dec 2, 2024
1 parent e6639a4 commit b98fbcb
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/datadog/tracing/contrib/ethon/easy_patch.rb
Original file line number Diff line number Diff line change
Expand Up @@ -114,7 +114,7 @@ def datadog_before_request(continue_from: nil)
datadog_trace.sampling_priority = Tracing::Sampling::Ext::Priority::AUTO_REJECT
end

unless Tracing::Distributed::Helpers.should_skip_distributed_tracing?(datadog_configuration, trace: trace)
unless Tracing::Distributed::Helpers.should_skip_distributed_tracing?(datadog_configuration, trace: datadog_trace)
@datadog_original_headers ||= {}
Contrib::HTTP.inject(datadog_trace, @datadog_original_headers)
self.headers = @datadog_original_headers
Expand Down

0 comments on commit b98fbcb

Please sign in to comment.