lib/new_relic/agent/instrumentation/curb/chain.rb in newrelic_rpm-9.0.0 vs lib/new_relic/agent/instrumentation/curb/chain.rb in newrelic_rpm-9.1.0
- old
+ new
@@ -5,10 +5,10 @@
require_relative 'instrumentation'
module NewRelic::Agent::Instrumentation
module Curb
module Chain
- def self.instrument!
+ def self.instrument! # rubocop:disable Metrics/AbcSize
Curl::Easy.class_eval do
include NewRelic::Agent::Instrumentation::Curb::Easy
def http_head_with_newrelic(*args, &blk)
http_head_with_tracing { http_head_without_newrelic(*args, &blk) }