Performance reports by mail in production

13 views
Skip to first unread message

Nick Snels

unread,
Sep 7, 2012, 4:04:52 AM9/7/12
to rubyonra...@googlegroups.com
Hi,

in development mode you can turn auto_explain_threshold_in_seconds on
and see when a query is slow in the command prompt. Is there a gem that
can send me slow queries and slow loading pages in production mode? That
would make monitoring performance a lot easier. Thanks.

--
Posted via http://www.ruby-forum.com/.

Frederick Cheung

unread,
Sep 8, 2012, 4:33:42 AM9/8/12
to rubyonra...@googlegroups.com


On Friday, September 7, 2012 9:05:28 AM UTC+1, Ruby-Forum.com User wrote:
Hi,

in development mode you can turn auto_explain_threshold_in_seconds on
and see when a query is slow in the command prompt. Is there a gem that
can send me slow queries and slow loading pages in production mode? That
would make monitoring performance a lot easier. Thanks.

There are (paid) services like http://www.unionstationapp.com  & newrelic that do this.

This is probably quite easy to implement in rails 3 using the ActiveSupport::Notifications stuff. 

Fred
Reply all
Reply to author
Forward
0 new messages