Sha256: 90ee0d1685db9930ec450457d404a3010ba96bd4fb7a94909e6208e1c0fdfc9c
Contents?: true
Size: 765 Bytes
Versions: 6
Compression:
Stored size: 765 Bytes
Contents
# encoding: utf-8 # This file is distributed under New Relic's license terms. # See https://github.com/newrelic/newrelic-ruby-agent/blob/main/LICENSE for complete details. module NewRelic::Agent::Instrumentation module HTTPClient module Chain def self.instrument! ::HTTPClient.class_eval do include NewRelic::Agent::Instrumentation::HTTPClient::Instrumentation def do_get_block_with_newrelic(req, proxy, conn, &block) with_tracing(req, conn) do do_get_block_without_newrelic(req, proxy, conn, &block) end end alias :do_get_block_without_newrelic :do_get_block alias :do_get_block :do_get_block_with_newrelic end end end end end
Version data entries
6 entries across 6 versions & 1 rubygems