Sha256: c34867b9e1277abe12ea32839a47f7607dca7e9cb1cf0eeeb1a853c4db7032ac
Contents?: true
Size: 464 Bytes
Versions: 5
Compression:
Stored size: 464 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
5 entries across 5 versions & 1 rubygems