Forum: Ruby on Rails Performance reports by mail in production

91308e9bc88cb069fd1bcf88e910d042?d=identicon&s=25 Nick Snels (nicksnels)
on 2012-09-07 10:04
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.
81b61875e41eaa58887543635d556fca?d=identicon&s=25 Frederick Cheung (Guest)
on 2012-09-08 10:34
(Received via mailing list)
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
Please log in before posting. Registration is free and takes only a minute.
Existing account

NEW: Do you have a Google/GoogleMail, Yahoo or Facebook account? No registration required!
Log in with Google account | Log in with Yahoo account | Log in with Facebook account
No account? Register here.