Sha256: b07c5ad0b593306722b92baee251770c95d370849186be0f9cff50acd5b7788c

Contents?: true

Size: 511 Bytes

Versions: 14

Compression:

Stored size: 511 Bytes

Contents

# This file is distributed under New Relic's license terms.
# See https://github.com/newrelic/newrelic-ruby-agent/blob/main/LICENSE for complete details.
# frozen_string_literal: true

require_relative 'instrumentation'

module NewRelic::Agent::Instrumentation
  module AsyncHttp::Prepend
    include NewRelic::Agent::Instrumentation::AsyncHttp

    def call(method, url, headers = nil, body = nil)
      call_with_new_relic(method, url, headers, body) { |hdr| super(method, url, hdr, body) }
    end
  end
end

Version data entries

14 entries across 14 versions & 1 rubygems

Version Path
newrelic_rpm-9.16.0 lib/new_relic/agent/instrumentation/async_http/prepend.rb
newrelic_rpm-9.15.0 lib/new_relic/agent/instrumentation/async_http/prepend.rb
newrelic_rpm-9.14.0 lib/new_relic/agent/instrumentation/async_http/prepend.rb
newrelic_rpm-9.13.0 lib/new_relic/agent/instrumentation/async_http/prepend.rb
newrelic_rpm-9.12.0 lib/new_relic/agent/instrumentation/async_http/prepend.rb
newrelic_rpm-9.11.0 lib/new_relic/agent/instrumentation/async_http/prepend.rb
newrelic_rpm-9.10.2 lib/new_relic/agent/instrumentation/async_http/prepend.rb
newrelic_rpm-9.10.1 lib/new_relic/agent/instrumentation/async_http/prepend.rb
newrelic_rpm-9.10.0 lib/new_relic/agent/instrumentation/async_http/prepend.rb
newrelic_rpm-9.9.0 lib/new_relic/agent/instrumentation/async_http/prepend.rb
newrelic_rpm-9.8.0 lib/new_relic/agent/instrumentation/async_http/prepend.rb
newrelic_rpm-9.7.1 lib/new_relic/agent/instrumentation/async_http/prepend.rb
newrelic_rpm-9.7.0 lib/new_relic/agent/instrumentation/async_http/prepend.rb
newrelic_rpm-9.6.0 lib/new_relic/agent/instrumentation/async_http/prepend.rb