Module: Mongo::Rails::Instrumentation::ControllerRuntime::ClassMethods
- Defined in:
- lib/mongo/rails/instrumentation/controller_runtime.rb
Instance Method Summary collapse
Instance Method Details
#log_process_action(payload) ⇒ Object
30 31 32 33 34 |
# File 'lib/mongo/rails/instrumentation/controller_runtime.rb', line 30 def log_process_action(payload) , mongo_runtime = super, payload[:mongo_runtime] << ("Mongo: %.1fms" % mongo_runtime.to_f) if mongo_runtime end |