canvas-lms/app/middleware
Jason Madsen 4c31395e34 use activesupport::notifications for statsd
closes CNVS-18285

rails 3 provides built in mechanisms for capturing metrics around
performance. switch to it and add in db and view creation timing to
statsd

test plan:
  - enable statsd metrics collecting in config/statsd.yml
  - visit several pages
    - verify that controller action timing is still being collected
    - verify that controller action view runtime is now being collected
    - verify that controller action db runtime is now being collected

Change-Id: I06dcf51adb988f70c4c5152cd56e93b39795ff6c
Reviewed-on: https://gerrit.instructure.com/48024
Tested-by: Jenkins
Reviewed-by: Brian Palmer <brianp@instructure.com>
QA-Review: August Thornton <august@instructure.com>
Product-Review: Jason Madsen <jmadsen@instructure.com>
2015-02-04 19:30:15 +00:00
..
load_account.rb Quiz question integrity after regrade 2014-10-06 22:46:29 +00:00
prevent_non_multipart_parse.rb sis import api 2011-04-08 15:45:57 -06:00
request_context_generator.rb set x-canvas-meta response header 2014-09-02 21:00:10 +00:00
sessions_timeout.rb change encrypted cookie store to fix session timeout plugin 2013-12-05 21:08:50 +00:00