Sha256: c555a745d57d9603b3ff5898d1b07774cfd9c9add507194124b867c18e7319a5

Contents?: true

Size: 524 Bytes

Versions: 7

Compression:

Stored size: 524 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.

require_relative 'instrumentation'

module NewRelic
  module Agent
    module Instrumentation
      module NetHTTP
        module Prepend
          include NewRelic::Agent::Instrumentation::NetHTTP

          def request(request, *args, &block)
            request_with_tracing(request) { super }
          end
        end
      end
    end
  end
end

Version data entries

7 entries across 7 versions & 1 rubygems

Version Path
newrelic_rpm-8.9.0 lib/new_relic/agent/instrumentation/net_http/prepend.rb
newrelic_rpm-8.8.0 lib/new_relic/agent/instrumentation/net_http/prepend.rb
newrelic_rpm-8.7.0 lib/new_relic/agent/instrumentation/net_http/prepend.rb
newrelic_rpm-8.6.0 lib/new_relic/agent/instrumentation/net_http/prepend.rb
newrelic_rpm-8.5.0 lib/new_relic/agent/instrumentation/net_http/prepend.rb
newrelic_rpm-8.4.0 lib/new_relic/agent/instrumentation/net_http/prepend.rb
newrelic_rpm-8.3.0 lib/new_relic/agent/instrumentation/net_http/prepend.rb