Sha256: 9eb864b139dabca7b47e56ee4e7ffc7aaf15d89286caac8c702d1f8e4a8896da
Contents?: true
Size: 840 Bytes
Versions: 25
Compression:
Stored size: 840 Bytes
Contents
require 'ddtrace/contrib/integration' require 'ddtrace/contrib/presto/configuration/settings' require 'ddtrace/contrib/presto/patcher' module Datadog module Contrib module Presto # Description of Presto integration class Integration include Contrib::Integration MINIMUM_VERSION = Gem::Version.new('0.5.14') register_as :presto def self.version Gem.loaded_specs['presto-client'] && Gem.loaded_specs['presto-client'].version end def self.loaded? !defined?(::Presto::Client::Client).nil? end def self.compatible? super && version >= MINIMUM_VERSION end def default_configuration Configuration::Settings.new end def patcher Patcher end end end end end
Version data entries
25 entries across 25 versions & 2 rubygems