What changed? Using Deployment Tracking in RPM

22 July 2010 at 9:52 am | Posted in Agile, Java, Rails, Support | Leave a Comment


Deployment tracking in RPM allows you to quickly see how your application deployments effect your performance. Here is a quick video overview of deployment tracking if you haven’t seen this feature in action before.

There are several ways that you can integrate deployment tracking into your release process. The Ruby gem includes rake tasks that can be easily integrated into Capistrano, or other deployment tools. You can also record deployments with our Java agent which can easily be integrated into any scripted release process.
Continue reading What changed? Using Deployment Tracking in RPM…

Monitoring the AWS-S3 gem in RPM : Custom Instrumentation Part 2

6 July 2010 at 4:19 pm | Posted in Did You Know, Performance Tuning, Rails, Support, Tutorials | Leave a Comment

I recently blogged about the rpm_contrib gem, which has custom instrumentation for Camping, Paperclip, MongoDB (via MongoMapper or Mongoid), Resque and Redis that were contributed by expert RPM users. Now let’s look at how easy it can be to add custom instrumentation for a Ruby gem so many of us depend on.


One of the most popular Ruby gems that we’ve seen our customers using over the last two years is the AWS-S3 gem.  Written by Marcel Molina starting in late 2006, the AWS-S3 gem is a Ruby library for Amazon’s Simple Storage Service’s (S3) REST API.  Amazon describes S3 as “storage for the Internet.”  Marcel’s library makes accessing S3 incredibly simple, and the code is really quite elegant.   I should point out that you may have to patch the gem to get access to EU buckets since it appears that the official gem is not actively maintained.

While using the AWS-S3 gem is certainly a convenient way to access S3, using a web service to interact with your static assets can be a potential sore spot for application performance. By instrumenting the AWS-S3 gem, we gain great visibility into how we interact with S3 and get a clearer picture of how that service is performing within our environment.

Continue reading Monitoring the AWS-S3 gem in RPM : Custom Instrumentation Part 2…

Redis, Resque, MongoDB and more, Custom Instrumentation in RPM, Part 1

1 July 2010 at 11:44 am | Posted in Performance Tuning, Rails, Support, Tutorials | 1 Comment

Do you use Camping, Paperclip, MongoDB (via MongoMapper or Mongoid), Resque or Redis? You can get performance metrics in RPM for all of these frameworks right now just by installing the rpm_contrib gem!

The rpm_contrib gem contains custom instrumentation generously written and shared by expert RPM users.

Continue reading Redis, Resque, MongoDB and more, Custom Instrumentation in RPM, Part 1…

New Relic RPM Customers Please Note: Planned Downtime this Friday Evening at 21:00

14 June 2010 at 4:55 pm | Posted in Product Update, Support | Leave a Comment

On Friday June 18, 2010 we will have a short maintenance window in which RPM will be unavailable for approximately 30 minutes. Your application will not be affected. The window is scheduled to begin at 21:00 (9:00 PM) Pacific Daylight Time (GMT -7). We are doing some network equipment upgrades, so all access to RPM will be closed for the 30-minute period. This maintenance affects all customers.

When connection to the service is restored, you will see a gap in the performance data for the time we were down.

We are making these upgrades to insure high levels of ongoing availability and performance. Our site up-time average over the last 3 months has been 99.89%.  While good, we are striving to improve those numbers.

Now in Beta: New Relic RPM Ruby Agent version 2.10. Tell us what you think about the newest capabilities.

20 January 2010 at 1:26 pm | Posted in News, Rails, Support, Testing | Leave a Comment

New Relic, Inc. Today we posted a beta version of our newest Ruby Agent, 2.10, which includes some significant enhancements. We invite you to take it for spin and we’d would appreciate your feedback about the features or any bugs and incompatibilities that you might encounter. Please email your comments to support@newrelic.com.

Installing the Ruby Agent

To install the beta as a plugin, delete any existing RPM plugin in the vendor/plugins area and use this command:

ruby script/plugin install git://github.com/newrelic/rpm.git -r ‘refs/tags/v2.10.2_beta1′

To install the beta as a gem, do the following:

git clone git://github.com/newrelic/rpm.git
cd rpm
git checkout v2.10.2_beta1
rake manifest
rake install

Watch the RPM status blog for updates to the beta:  http://rpmstatus.newrelic.com.

Ruby Agent 2.10 Features

Here’s a short run-down of the new features. You can find a more detailed description on our support site.

  • Instrumentation of methods as if they were web transactions for better visibility into background tasks and and other activities occurring outside of normal controller actions.
  • Additional visibility into Garbage Collection statistics in Ruby Enterprise Edition as well as Ruby versions with the Railsbench GC patches compiled in.
  • Additional visibility into the time a request spends in the queue via the X-REQUEST-ENTRY header, easily inserted into Apache configuration.
  • Application profiling in developer mode that enables RPM to give you a list of profiles to examine for each controller action invoked.
  • Instrumentation to automatically capture Sinatra handlers and show them in the UI as controller actions named according to their URI pattern.
  • Capture of Rack apps and Metals as controller actions for more detailed analysis.
  • CPU metric collection in JRuby, allowing you to determine CPU time spent in every controller action.

We’ve also made some configuration and API changes so be sure to check out the release notes. We look forward to hearing from you.

Next Page »

Blog at WordPress.com. | Theme: Pool by Borja Fernandez.
Entries and comments feeds.