lib/opentelemetry/instrumentation/restclient/patches/request.rb in opentelemetry-instrumentation-restclient-0.13.0 vs lib/opentelemetry/instrumentation/restclient/patches/request.rb in opentelemetry-instrumentation-restclient-0.14.0
- old
+ new
@@ -28,10 +28,10 @@
},
kind: :client
)
OpenTelemetry::Trace.with_span(span) do
- OpenTelemetry.propagation.http.inject(processed_headers)
+ OpenTelemetry.propagation.inject(processed_headers)
end
yield(span).tap do |response|
# Verify return value is a response.
# If so, add additional attributes.