lib/async/http/client.rb in async-http-0.59.2 vs lib/async/http/client.rb in async-http-0.59.3

- old
+ new

@@ -159,10 +159,10 @@ if length = request.body&.length attributes['http.request.length'] = length end trace('async.http.client.call', attributes: attributes) do |span| - if context = trace_context(span) + if context = self.trace_context request.headers['traceparent'] = context.to_s # request.headers['tracestate'] = context.state end super.tap do |response|