class Datadog::Contrib::ActiveSupport::Integration
Describes the ActiveSupport
integration
Constants
- MINIMUM_VERSION
Public Class Methods
compatible?()
click to toggle source
Calls superclass method
# File lib/ddtrace/contrib/active_support/integration.rb, line 27 def self.compatible? super && version >= MINIMUM_VERSION end
loaded?()
click to toggle source
# File lib/ddtrace/contrib/active_support/integration.rb, line 23 def self.loaded? !defined?(::ActiveSupport).nil? end
version()
click to toggle source
# File lib/ddtrace/contrib/active_support/integration.rb, line 19 def self.version Gem.loaded_specs['activesupport'] && Gem.loaded_specs['activesupport'].version end
Public Instance Methods
auto_instrument?()
click to toggle source
enabled by rails integration so should only auto instrument if detected that it is being used without rails
# File lib/ddtrace/contrib/active_support/integration.rb, line 33 def auto_instrument? !Datadog::Contrib::Rails::Utils.railtie_supported? end
default_configuration()
click to toggle source
# File lib/ddtrace/contrib/active_support/integration.rb, line 37 def default_configuration Configuration::Settings.new end
patcher()
click to toggle source
# File lib/ddtrace/contrib/active_support/integration.rb, line 41 def patcher ActiveSupport::Patcher end