Skip to content

Commit

Permalink
add new relic middleware monitoring support
Browse files Browse the repository at this point in the history
  • Loading branch information
maxwell committed Jun 25, 2012
1 parent 3684487 commit 3d3565f
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 0 deletions.
1 change: 1 addition & 0 deletions Gemfile
Expand Up @@ -4,6 +4,7 @@ gem 'bundler', '> 1.1.0'
ruby '1.9.3' if ENV['HEROKU']

gem "newrelic_rpm"
gem 'newrelic-middleware'

gem 'rails', '3.2.6'

Expand Down
3 changes: 3 additions & 0 deletions Gemfile.lock
Expand Up @@ -277,6 +277,8 @@ GEM
net-ssh-gateway (1.1.0)
net-ssh (>= 1.99.1)
netrc (0.7.4)
newrelic-middleware (1.1.0)
newrelic_rpm
newrelic_rpm (3.4.0)
nokogiri (1.5.2)
oauth (0.4.6)
Expand Down Expand Up @@ -510,6 +512,7 @@ DEPENDENCIES
mini_magick (= 3.4)
mobile-fu
mysql2 (= 0.3.11)
newrelic-middleware
newrelic_rpm
nokogiri (= 1.5.2)
oink
Expand Down
1 change: 1 addition & 0 deletions config.ru
Expand Up @@ -7,6 +7,7 @@
require ::File.expand_path('../config/environment', __FILE__)
require ::File.expand_path('../lib/rack/chrome_frame', __FILE__)

use NewRelicMiddleware::TrackingSupport
use Rack::Deflater
use Rack::ChromeFrame, :minimum => 8
run Diaspora::Application

0 comments on commit 3d3565f

Please sign in to comment.