No commit activity in last 3 years
No release in over 3 years
Records time spent in mongo and adds to request logs
2005
2006
2007
2008
2009
2010
2011
2012
2013
2014
2015
2016
2017
2018
2019
2020
2021
2022
2023
2024
 Dependencies

Runtime

>= 1.8.0
 Project Readme
Mongo Rails 3 Instrumentation
=============================

Records how long your rails app spends in Mongo, and outputs it to the log, i.e.:

    Completed 200 OK in 1535ms (Views: 623.3ms | Mongo: 848.2ms)

To use, just add the gem to your Gemfile and restart your app:

    gem 'mongo-rails-instrumentation', '~>0.2'

It's been tested with rails 3.0, and should work with rails 3.1 too.

This gem's home is on github at https://github.com/freerange/mongo-rails-instrumentation, so please add comments, suggestions and improvements there. All code is released under the MIT License.