Sha256: 3f8ae3bd1b803e6df3e2b7cb6b3f3f5a9c88d16bda5a51300ee634f8a0c4d988

Contents?: true

Size: 895 Bytes

Versions: 16

Compression:

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

module NewRelic::Agent::Instrumentation
  module Ethon
    module Easy
      module Prepend
        include NewRelic::Agent::Instrumentation::Ethon::Easy

        def fabricate(url, action_name, options)
          fabricate_with_tracing(url, action_name, options) { super }
        end

        def headers=(headers)
          headers_equals_with_tracing(headers) { super }
        end

        def perform(*args)
          perform_with_tracing(*args) { super }
        end
      end
    end

    module Multi
      module Prepend
        include NewRelic::Agent::Instrumentation::Ethon::Multi

        def perform(*args)
          perform_with_tracing(*args) { super }
        end
      end
    end
  end
end

Version data entries

16 entries across 16 versions & 1 rubygems

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