lib/opentelemetry/instrumentation/net/http/patches/instrumentation.rb in opentelemetry-instrumentation-net_http-0.13.0 vs lib/opentelemetry/instrumentation/net/http/patches/instrumentation.rb in opentelemetry-instrumentation-net_http-0.14.0
- old
+ new
@@ -28,10 +28,10 @@
'peer.hostname' => @address,
'peer.port' => @port
),
kind: :client
) do |span|
- OpenTelemetry.propagation.http.inject(req)
+ OpenTelemetry.propagation.inject(req)
super(req, body, &block).tap do |response|
annotate_span_with_response!(span, response)
end
end