We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 96b9750 commit 05668c0Copy full SHA for 05668c0
lib/async/http/client.rb
@@ -161,7 +161,7 @@ def call(request)
161
end
162
163
trace('async.http.client.call', attributes: attributes) do |span|
164
- if context = trace_context(span)
+ if context = self.trace_context
165
request.headers['traceparent'] = context.to_s
166
# request.headers['tracestate'] = context.state
167
spec/spec_helper.rb
@@ -25,6 +25,8 @@
25
26
require 'async/rspec'
27
28
+ENV['TRACES_BACKEND'] ||= 'traces/backend/test'
29
+
30
RSpec.shared_context 'docstring as description' do
31
let(:description) {self.class.metadata.fetch(:description_args).first}
32
0 commit comments