lib/opentelemetry/instrumentation/http_client/patches/session.rb in opentelemetry-instrumentation-http_client-0.19.3 vs lib/opentelemetry/instrumentation/http_client/patches/session.rb in opentelemetry-instrumentation-http_client-0.19.4

- old
+ new

@@ -12,10 +12,10 @@ module Session def connect site = @proxy || @dest url = site.addr - attributes = OpenTelemetry::Common::HTTP::ClientContext.attributes.merge('http.url' => url) + attributes = { 'http.url' => url }.merge!(OpenTelemetry::Common::HTTP::ClientContext.attributes) tracer.in_span('HTTP CONNECT', attributes: attributes) do super end end