Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP

Simple rails instrumentation for the ruby mongo driver

branch: master

Fetching latest commit…

Octocat-spinner-32-eaf2f5

Cannot retrieve the latest commit at this time

Octocat-spinner-32 lib
Octocat-spinner-32 .gitignore
Octocat-spinner-32 Gemfile
Octocat-spinner-32 MIT-LICENSE
Octocat-spinner-32 README
Octocat-spinner-32 Rakefile
Octocat-spinner-32 mongo-rails-instrumentation.gemspec
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.
Something went wrong with that request. Please try again.