File tree Expand file tree Collapse file tree 3 files changed +4
-2
lines changed Expand file tree Collapse file tree 3 files changed +4
-2
lines changed Original file line number Diff line number Diff line change @@ -23,7 +23,7 @@ Gem::Specification.new do |spec|
23
23
spec . add_dependency "protocol-http" , "~> 0.23.1"
24
24
spec . add_dependency "protocol-http1" , "~> 0.14.0"
25
25
spec . add_dependency "protocol-http2" , "~> 0.14.0"
26
- spec . add_dependency "traces" , ">= 0.4 .0"
26
+ spec . add_dependency "traces" , ">= 0.8 .0"
27
27
28
28
spec . add_development_dependency "async-container" , "~> 0.14"
29
29
spec . add_development_dependency "async-rspec" , "~> 1.10"
Original file line number Diff line number Diff line change @@ -161,7 +161,7 @@ def call(request)
161
161
end
162
162
163
163
trace ( 'async.http.client.call' , attributes : attributes ) do |span |
164
- if context = trace_context ( span )
164
+ if context = self . trace_context
165
165
request . headers [ 'traceparent' ] = context . to_s
166
166
# request.headers['tracestate'] = context.state
167
167
end
Original file line number Diff line number Diff line change 25
25
26
26
require 'async/rspec'
27
27
28
+ ENV [ 'TRACES_BACKEND' ] ||= 'traces/backend/test'
29
+
28
30
RSpec . shared_context 'docstring as description' do
29
31
let ( :description ) { self . class . metadata . fetch ( :description_args ) . first }
30
32
end
You can’t perform that action at this time.
0 commit comments