lib/opentelemetry/instrumentation/http/patches/client.rb in opentelemetry-instrumentation-http-0.20.0 vs lib/opentelemetry/instrumentation/http/patches/client.rb in opentelemetry-instrumentation-http-0.21.0
- old
+ new
@@ -8,10 +8,10 @@
module Instrumentation
module HTTP
module Patches
# Module to prepend to HTTP::Client for instrumentation
module Client
- def perform(req, options) # rubocop:disable Metrics/AbcSize
+ def perform(req, options)
uri = req.uri
request_method = req.verb.to_s.upcase
attributes = {
'http.method' => request_method,