Sha256: 18240aa4abf950e8da9f5a7871fe8675084e16a52f2589cc06e3495bc53a9ec6
Contents?: true
Size: 465 Bytes
Versions: 84
Compression:
Stored size: 465 Bytes
Contents
module Appsignal class Hooks class MongoRubyDriverHook < Appsignal::Hooks::Hook register :mongo_ruby_driver def dependencies_present? defined?(::Mongo::Monitoring::Global) end def install require 'appsignal/integrations/mongo_ruby_driver' Mongo::Monitoring::Global.subscribe( Mongo::Monitoring::COMMAND, Appsignal::Hooks::MongoMonitorSubscriber.new ) end end end end
Version data entries
84 entries across 84 versions & 1 rubygems