Sha256: 67b7dc0584bd7a8c4555f8709585803a4b03c8769f8ca4ca276ec32774da0f54

Contents?: true

Size: 535 Bytes

Versions: 6

Compression:

Stored size: 535 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

6 entries across 6 versions & 1 rubygems

Version Path
newrelic_rpm-8.2.0 lib/new_relic/agent/instrumentation/net_http/prepend.rb
newrelic_rpm-8.1.0 lib/new_relic/agent/instrumentation/net_http/prepend.rb
newrelic_rpm-8.0.0 lib/new_relic/agent/instrumentation/net_http/prepend.rb
newrelic_rpm-7.2.0 lib/new_relic/agent/instrumentation/net_http/prepend.rb
newrelic_rpm-7.1.0 lib/new_relic/agent/instrumentation/net_http/prepend.rb
newrelic_rpm-7.0.0 lib/new_relic/agent/instrumentation/net_http/prepend.rb