Sha256: bfdb3fa15d9018af6a3826bb447477a62f7b6ea187aa5d08767baf823d60bf67
Contents?: true
Size: 713 Bytes
Versions: 7
Compression:
Stored size: 713 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 'dynamodb/instrumentation' require_relative 'dynamodb/chain' require_relative 'dynamodb/prepend' DependencyDetection.defer do named :dynamodb depends_on do defined?(Aws::DynamoDB::Client) end executes do NewRelic::Agent.logger.info('Installing DynamoDB instrumentation') if use_prepend? prepend_instrument Aws::DynamoDB::Client, NewRelic::Agent::Instrumentation::DynamoDB::Prepend else chain_instrument NewRelic::Agent::Instrumentation::DynamoDB::Chain end end end
Version data entries
7 entries across 7 versions & 1 rubygems