Class: Datadog::Contrib::Aws::Integration

Inherits:
Object
  • Object
show all
Includes:
Integration
Defined in:
lib/ddtrace/contrib/aws/integration.rb

Overview

Description of AWS integration

Class Method Summary collapse

Instance Method Summary collapse

Methods included from Integration

included

Class Method Details

.present?Boolean

Returns:

  • (Boolean)


22
23
24
# File 'lib/ddtrace/contrib/aws/integration.rb', line 22

def self.present?
  super && defined?(::Seahorse::Client::Base)
end

.versionObject



14
15
16
17
18
19
20
# File 'lib/ddtrace/contrib/aws/integration.rb', line 14

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

Instance Method Details

#default_configurationObject



26
27
28
# File 'lib/ddtrace/contrib/aws/integration.rb', line 26

def default_configuration
  Configuration::Settings.new
end

#patcherObject



30
31
32
# File 'lib/ddtrace/contrib/aws/integration.rb', line 30

def patcher
  Patcher
end