Get notified of slow Rails web requests with Scout

January 07, 2008 by Derek

Posted in Examples | no comments Comments

When something bad happens you want to find out about it as quickly as possible.

You’re probably notified of uncaught exceptions. What about slow web requests, which can be just as annoying to a user?

Find about about slow web requests (and what might be causing them) in near real-time using Scout and the Ruby on Rails Request Monitoring Plugin.

Here’s how it goes down:

1. Install the Scout Client   watch a video (1 min 39 sec)

Picture 8.png

2. Install the Plugin   watch a video (1 min 55 sec)

Picture 11.png

...that’s it – you’re no longer a performance slacker.

3. Scout reports back data

Every 10 minutes, Scout collects information:

Picture 12.png

If you have a slow request, an alert is generated. You can view the offending requests and their request times:

Picture 14.png

View Web Requests on a Graph

You can easily graph this data as well with Scout’s built-in graph builder:

Picture 16.png

Compare to other Rails applications

...but that’s not all. You probably have multiple Rails applications. You can compare their performance on a single graph as well:

Picture 17.png

Look for trends against other data

...we’re not done yet though…how about comparing the average request time vs. the size of the mongrel threads through the Process Usage plugin?

Picture 18.png

Since it’s easy to plot different data stats on Scout, you can quickly rule out possible reasons for slow performance. That’s half the battle.

Signup for our launch email list

We’re launching Scout this winter. Signup on our homepage, and we’ll give you access to Scout before the public launch.

Comments

(leave url/email »)

  

Featured Plugins

  • Process Usage
    Monitors the memory usage of a process, generating an alert if it exceeds a specified threshold.
  • URL Monitoring
    Monitors the availability of a URL, sending an alert if the URL is not reachable.
  • Ruby on Rails Request Monitoring
    Monitors ALL requests to a Ruby on Rails web application, alerting when slow web requests occur. Reports the total number of requests, the number of slow requests, and the average execution time.
  • Server Load
    Monitors the load on server, generating an alert if the load over the last minute is greater than a specified amount.


Categories

Already have a Scout account?   Where do I login? Highgroove Studios Powered By Rails Machine