Pull request Compare This branch is 624 commits behind scoutapp:master.
Fetching latest commit…
Cannot retrieve the latest commit at this time.
..
Failed to load latest commit information.
README
mongo_slow_queries.rb
mongo_slow_queries.yml

README

Monitors for slow MongoDB queries and generates an alert (containing the queries) whey they occur.

The plugin has two options, the database and a threshold for slow query times

It automatically sets the profiling level of the named database to slow_queries only or above.

Dependencies: the mongo and mongo_ext gems (gem install mongo; gem install mongo_ext).
IMPORTANT: The minimum version for both gems is 0.18.3.