public
Description: Scout's Rails Instrumentation Hooks & Plugin
Homepage:
Clone URL: git://github.com/highgroove/scout_rails_instrumentation.git
name age message
file .gitignore Thu Feb 19 21:28:20 -0800 2009 plugin configuration implemented [Andre Lewis]
file MIT-LICENSE Mon Sep 14 20:06:29 -0700 2009 Added deprecation note to README [itsderek23]
file README.txt Mon Sep 14 20:06:29 -0700 2009 Added deprecation note to README [itsderek23]
file Rakefile Thu Jan 15 09:06:13 -0800 2009 Initial attempt at getting the plugin tested. [mtodd]
directory assets/ Thu Feb 19 21:38:12 -0800 2009 tightened up help text [Andre Lewis]
file developer_notes.textile Wed Mar 11 14:25:19 -0700 2009 Updated link to the newest sample report data. [mtodd]
file init.rb Mon May 11 11:04:31 -0700 2009 Fixed the plugin to not break if your Rails app... [David Balatero]
file install.rb Tue Mar 03 16:59:09 -0800 2009 fixed config filename in welcome.txt; expanded ... [Andre Lewis]
directory lib/ Mon Jul 27 14:18:18 -0700 2009 Added tests for Scout instrumentation being ena... [mtodd]
directory test/ Mon Jul 27 14:18:18 -0700 2009 Added tests for Scout instrumentation being ena... [mtodd]
file welcome.txt Sat May 02 14:07:46 -0700 2009 updated readme [Andre Lewis]
README.txt
UPDATE 9/14/2009 - This plugin has been deprecated and will no longer be supported. Please see the 'rails_request' 
plugin
in the github.com/highgroove/scout-plugins repo for Ruby on Rails monitoring.

## Scout Rails Instrumentation Plugin

This plugin works together with http://scoutapp.com to provide insight into the
health and performance of your Rails application while it runs in production.

It captures Rails metrics silently in the background, imposing negligable 
overhead itself. 

Scoutapp.com uses the gathered information to give you a heads-up when 
something changes on your app (for example, if a certain controller action 
slows down a lot relative to the same day last week), or if it looks like 
your database queries are having problems (for example, if a query is slow 
because of a missing index).

Learn more at http://scoutapp.com.

## Installation

Install like any other plugin:

    cd [YOUR_RAILS_APP_ROOT]
    script/plugin install git://github.com/highgroove/scout_rails_instrumentation.git

The installer will print out a welcome message with further instructions 
(or see the instructions in welcome.txt). The gist of what you'll do:

* Log into your Scout account at http://scoutapp.com.
* In the web interface, tell Scout you're using Rails instrumentation, 
  and note the ID it provides.
* Set that ID in `config\scout.yml`
* Deploy your application, and see the metrics on Scoutapp.com

## What to Expect

This plugin is very gentle to you Rails application. It is designed to work
in conjunction with the Scout Agent (http://github.com/highgroove/scout_agent/tree/master),
but if the agent is not available, the plugin will log a message and your
application will continue to run normally, without the instrumentation.

* Negligable overhead: the plugin imposes 1 ms or less overhead per request.
* Unintrusive failure: if you forget to install the Scout Agent gem (the 
  plugin's only dependency), your application will continue to run normally.
* Easily enabled/disabled: after installation, you will have a new 
  `/config/scout.yml` configuration file. You can enable or disable 
  the plugin from any time from this configuration file.

## If You're Just Evaluating ...

Not 100% sure about Scout as a monitoring solution? Give it a try!
This plugin will not cause any problems in your application, and it's
trivial to disable/reenable/remove if you decide Scout isn't right for you.
We think you'll love being seeing exactly what's going on within your
production Rails application and getting trending alerts through scoutapp.com.

## Compatibility

This plugin is known to work with:
* Rails: 2.0 - 2.3.2
* Ruby: MRI 1.8.6-1.9.1, REE 1.8.6