No commit activity in last 3 years
No release in over 3 years
Adds additional information to rails logs about total time for MongoDB queries in action processing.
2005
2006
2007
2008
2009
2010
2011
2012
2013
2014
2015
2016
2017
2018
2019
2020
2021
2022
2023
2024
 Dependencies

Runtime

~> 1.4.2
~> 3.2.12
 Project Readme

MongoidRailsInstrumentation¶ ↑

Adds additional information to rails logs about total time for MongoDB queries in action processing. Just add gem “mongoid-rails-instrumentation” to your Gemfile.

Example Output¶ ↑

Started GET "/" for x.x.x.x at 2013-02-19 09:06:25 +0100
Processing by PagesController#show as HTML
  Parameters: {"path"=>"/"}
  MOPED: 127.0.0.1:27017 COMMAND      database=admin command={:ismaster=>1} (0.4668ms)
Rendered text template (0.0ms)
Completed 200 OK in 60ms (Views: 14.2ms)
Mongo: (6.4668ms) | Query count: 1