lib/opentelemetry/instrumentation/http_client/patches/client.rb in opentelemetry-instrumentation-http_client-0.20.0 vs lib/opentelemetry/instrumentation/http_client/patches/client.rb in opentelemetry-instrumentation-http_client-0.21.0

- old
+ new

@@ -10,10 +10,10 @@ module Patches # Module to prepend to HTTPClient for instrumentation module Client private - def do_get_block(req, proxy, conn, &block) # rubocop:disable Metrics/AbcSize + def do_get_block(req, proxy, conn, &block) uri = req.header.request_uri url = "#{uri.scheme}://#{uri.host}" request_method = req.header.request_method attributes = {