github
Advanced Search
  • Home
  • Pricing and Signup
  • Explore GitHub
  • Blog
  • Login

methodmissing / rpm forked from newrelic/rpm

  • Admin
  • Watch Unwatch
  • Fork
  • Your Fork
  • Pull Request
  • Download Source
    • 1
    • 36
  • Source
  • Commits
  • Network (36)
  • Issues (0)
  • Downloads (9)
  • Wiki (1)
  • Graphs
  • Branch: master

click here to add a description

click here to add a homepage

  • Branches (2)
    • 2.8.5_dev
    • master ✓
  • Tags (9)
    • v2.8.4
    • v2.8.3
    • v2.8.2
    • v2.8.1
    • v2.8.0
    • v2.7.4
    • v2.7.3
    • v2.7.1
    • v2.5.6
Sending Request…
Enable Donations

Pledgie Donations

Once activated, we'll place the following badge in your repository's detail box:
Pledgie_example
This service is courtesy of Pledgie.

New Relic RPM Agent — Read more

  cancel

http://www.newrelic.com

  cancel
  • Private
  • Read-Only
  • HTTP Read-Only

This URL has Read+Write access

sync agent beta 2.8.5-7128 
bkayser (author)
Mon Feb 23 17:28:34 -0800 2009
commit  6526260bccb17a385f876fab64d90a408223c745
tree    1b13de5bc19f66b34f5ed6bad257114096a0b40d
parent  23f4a4c1bdb299a6033413dd9f033bf636ad0c06
rpm /
name age
history
message
file .gitignore Tue Dec 16 21:30:34 -0800 2008 Agent updated to version 2.7.4 [bkayser]
file .project Thu Oct 30 23:28:25 -0700 2008 first version of the rpm agent gem [bkayser]
file LICENSE Thu Oct 30 23:28:25 -0700 2008 first version of the rpm agent gem [bkayser]
file README Loading commit data...
file Rakefile Tue Jan 27 12:23:07 -0800 2009 sync agent beta 2.8.1-6274 [bkayser]
directory bin/ Wed Jan 21 15:30:33 -0800 2009 sync agent beta 2.8.1-6142 [James Gochee]
file init.rb
file install.rb
directory lib/
file newrelic.yml
file newrelic_rpm.gemspec
file newrelic_spec.rb
directory recipes/
file spec_helper.rb Thu Oct 30 23:28:25 -0700 2008 first version of the rpm agent gem [bkayser]
directory test/
directory ui/
README
= New Relic RPM

* http://www.newrelic.com

New Relic RPM is a Ruby performance management system, developed by New Relic, Inc.
RPM provides you with deep information about the performance of your Ruby on Rails 
or Merb application as it runs in production. The New Relic Agent is distributed as
a either a Rails plugin or a Gem, both hosted on RubyForge.

The New Relic Agent runs in one of two modes:

* Developer Mode : Adds a web interface mapped to /newrelic to your application for
  showing detailed performance metrics on a page by page basis.
  
* Production Mode : Low overhead instrumentation that captures detailed information
  on your application running in production and transmits them to rpm.newrelic.com
  where you can monitor them in real time.

=== DEVELOPER MODE

Developer mode is on by default when you run your application in the development
environment (but not when it runs in other environments.)  When running in
developer mode, RPM will track the performance of every http request serviced
by your application, and store in memory this information for the last 100 http 
transactions.

When running in Developer Mode, the RPM will also add a few pages to 
your application that allow you to analyze this performance information. (Don't 
worry - those pages are not added to your application's routes when you run in 
production mode.)

To view this performance information, including detailed SQL statement analysis,
open '/newrelic' in your web application.  For instance if you are running
mongrel or thin on port 3000, enter the following into your browser:

http://localhost:3000/newrelic

=== PRODUCTION MODE

To monitor your applications in production, create an account at
http://newrelic.com/get-RPM.html

When your application runs in the production environment, the New Relic agent
runs in production mode. It connects to the New Relic RPM service and sends deep
performance data to the RPM service for your analysis. To view this data, login
to http://rpm.newrelic.com.

NOTE: You must have a valid account and license key to view this data online.
When you sign up for an account at www.newrelic.com, you will be provided with a
license key, as well as a default configuration file for New Relic RPM. You can
either paste your license key into your existing configuration file,
config/newrelic.yml, or you can replace that config file with the one included in
your welcome email.

== REQUIREMENTS:

Ruby 1.8.6
Rails 1.2.6 or above
Merb 1.0 or above

== RAILS PLUG-IN INSTALL:

   script/plugin install http://newrelic.rubyforge.net/svn/newrelic_rpm
   
== GEM INSTALL:

   sudo gem install newrelic_rpm

For Rails, edit environment.rb and add to the initalizer block:

   config.gem "newrelic_rpm" 

The Developer Mode is unavailable when using the gem on Rails versions prior to 2.0.

== MERB SUPPORT:

To monitor a merb app install the newrelic_rpm gem and add <code>dependency 'newrelic_rpm'</code> 
to your init.rb file.

Developer Mode not currently available in merb.
   
== SUPPORT:

Reach out to us - and to fellow RPM users - on our support forum at 
http://getsatisfaction.com/newrelic. We’ll share tips and tricks, answer all your 
questions, and announce product updates. Operators are standing by.

For other support channels, see http://www.newrelic.com/support.

Thank you, and may your application scale to infinity plus one.  

Lew Cirne, Founder and CEO
New Relic, Inc.
Blog | Support | Training | Contact | API | Status | Twitter | Help | Security
© 2010 GitHub Inc. All rights reserved. | Terms of Service | Privacy Policy
Powered by the Dedicated Servers and
Cloud Computing of Rackspace Hosting®
Dedicated Server