Class: Datadog::Contrib::Sidekiq::Integration
- Inherits:
-
Object
- Object
- Datadog::Contrib::Sidekiq::Integration
- Includes:
- Integration
- Defined in:
- lib/ddtrace/contrib/sidekiq/integration.rb
Overview
Description of Sidekiq integration
Class Method Summary collapse
Instance Method Summary collapse
Methods included from Integration
Class Method Details
.compatible? ⇒ Boolean
22 23 24 |
# File 'lib/ddtrace/contrib/sidekiq/integration.rb', line 22 def self.compatible? super && version >= Gem::Version.new('3.5.4') end |
.present? ⇒ Boolean
18 19 20 |
# File 'lib/ddtrace/contrib/sidekiq/integration.rb', line 18 def self.present? super && defined?(::Sidekiq) end |
.version ⇒ Object
14 15 16 |
# File 'lib/ddtrace/contrib/sidekiq/integration.rb', line 14 def self.version Gem.loaded_specs['sidekiq'] && Gem.loaded_specs['sidekiq'].version end |
Instance Method Details
#default_configuration ⇒ Object
26 27 28 |
# File 'lib/ddtrace/contrib/sidekiq/integration.rb', line 26 def default_configuration Configuration::Settings.new end |
#patcher ⇒ Object
30 31 32 |
# File 'lib/ddtrace/contrib/sidekiq/integration.rb', line 30 def patcher Patcher end |