Sha256: 935b06f42bf60738b11963eacc8dfb5e399a9c38f27d824bb9c92aef78ccb351
Contents?: true
Size: 927 Bytes
Versions: 24
Compression:
Stored size: 927 Bytes
Contents
require_relative '../integration' require_relative 'configuration/settings' require_relative 'patcher' module Datadog module Tracing module Contrib module Pg # Description of pg integration class Integration include Contrib::Integration MINIMUM_VERSION = Gem::Version.new('0.18.4') # @public_api Changing the integration name or integration options can cause breaking changes register_as :pg def self.version Gem.loaded_specs['pg'] && Gem.loaded_specs['pg'].version end def self.loaded? !defined?(::PG).nil? end def self.compatible? super && version >= MINIMUM_VERSION end def new_configuration Configuration::Settings.new end def patcher Patcher end end end end end end
Version data entries
24 entries across 24 versions & 1 rubygems