Mongo instrumentation released as a gem

Enough people seemed to comment and like the mongo instrumentation code I wrote about yesterday that I’ve packaged it up and released it as a gem.

The mongo-rails-instrumentation gem is available on rubygems, and the code is up on github.

Adding it to a project is simple, just put the following in your Gemfile, run bundle install and restart your app.

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

Please add any suggestions, improvements and comments to the code in github. I hope people find it useful.