Sha256: 60a1e1b8f7b62eff1d5a18e3acd8c087140ce7d8ab9c9f10a74c9ffeee2c1c3d
Contents?: true
Size: 956 Bytes
Versions: 25
Compression:
Stored size: 956 Bytes
Contents
require 'ddtrace/contrib/integration' require 'ddtrace/contrib/aws/configuration/settings' require 'ddtrace/contrib/aws/patcher' module Datadog module Contrib module Aws # Description of AWS integration class Integration include Contrib::Integration MINIMUM_VERSION = Gem::Version.new('2.0') register_as :aws, auto_patch: true def self.version if Gem.loaded_specs['aws-sdk'] Gem.loaded_specs['aws-sdk'].version elsif Gem.loaded_specs['aws-sdk-core'] Gem.loaded_specs['aws-sdk-core'].version end end def self.loaded? !defined?(::Seahorse::Client::Base).nil? end def self.compatible? super && version >= MINIMUM_VERSION end def default_configuration Configuration::Settings.new end def patcher Patcher end end end end end
Version data entries
25 entries across 25 versions & 2 rubygems