Module: Spyke::Instrumentation::ControllerRuntime::ClassMethods

Defined in:
lib/spyke/instrumentation/controller_runtime.rb

Instance Method Summary collapse

Instance Method Details

#log_process_action(payload) ⇒ Object



30
31
32
33
34
# File 'lib/spyke/instrumentation/controller_runtime.rb', line 30

def log_process_action(payload)
  messages, spyke_runtime = super, payload[:spyke_runtime]
  messages << ("Spyke: %.1fms" % spyke_runtime.to_f) if spyke_runtime
  messages
end