lib/elastic_apm/spies/faraday.rb in elastic-apm-3.4.0 vs lib/elastic_apm/spies/faraday.rb in elastic-apm-3.5.0

- old
+ new

@@ -61,10 +61,10 @@ ElasticAPM::Spies::FaradaySpy.without_net_http do trace_context = span&.trace_context || transaction.trace_context result = run_request_without_apm(method, url, body, headers) do |req| - req['Elastic-Apm-Traceparent'] = trace_context.to_header + trace_context.apply_headers { |k, v| req[k] = v } yield req if block_given? end if (http = span&.context&.http)