Sha256: 9ca80dec8cb6960565bea53dee2c1c18c317351b6c560f848c795ca8a6651e87
Contents?: true
Size: 788 Bytes
Versions: 35
Compression:
Stored size: 788 Bytes
Contents
require 'ddtrace/contrib/integration' require 'ddtrace/contrib/redis/configuration/settings' require 'ddtrace/contrib/redis/patcher' module Datadog module Contrib module Redis # Description of Redis integration class Integration include Contrib::Integration register_as :redis, auto_patch: true def self.version Gem.loaded_specs['redis'] && Gem.loaded_specs['redis'].version end def self.present? super && defined?(::Redis) end def self.compatible? !version.nil? && version >= Gem::Version.new('3.0.0') end def default_configuration Configuration::Settings.new end def patcher Patcher end end end end end
Version data entries
35 entries across 35 versions & 2 rubygems