Sha256: c2aea70a40f57270939f9ce5b2ebd550ea04efa97c259e7794a10ead3c0a98bc

Contents?: true

Size: 595 Bytes

Versions: 9

Compression:

Stored size: 595 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 DynamoDB::Prepend
    include NewRelic::Agent::Instrumentation::DynamoDB

    INSTRUMENTED_METHODS.each do |method_name|
      define_method(method_name) do |*args|
        instrument_method_with_new_relic(method_name, *args) { super(*args) }
      end
    end

    def build_request(*args)
      build_request_with_new_relic(*args) { super }
    end
  end
end

Version data entries

9 entries across 9 versions & 1 rubygems

Version Path
newrelic_rpm-9.16.0 lib/new_relic/agent/instrumentation/dynamodb/prepend.rb
newrelic_rpm-9.15.0 lib/new_relic/agent/instrumentation/dynamodb/prepend.rb
newrelic_rpm-9.14.0 lib/new_relic/agent/instrumentation/dynamodb/prepend.rb
newrelic_rpm-9.13.0 lib/new_relic/agent/instrumentation/dynamodb/prepend.rb
newrelic_rpm-9.12.0 lib/new_relic/agent/instrumentation/dynamodb/prepend.rb
newrelic_rpm-9.11.0 lib/new_relic/agent/instrumentation/dynamodb/prepend.rb
newrelic_rpm-9.10.2 lib/new_relic/agent/instrumentation/dynamodb/prepend.rb
newrelic_rpm-9.10.1 lib/new_relic/agent/instrumentation/dynamodb/prepend.rb
newrelic_rpm-9.10.0 lib/new_relic/agent/instrumentation/dynamodb/prepend.rb