Permalink
Browse files

Add NewRelic

  • Loading branch information...
1 parent d0395c1 commit 944728d9a368e46ba8c6da93157ee8d08f2b0437 @maxhawkins maxhawkins committed Feb 13, 2012
Showing with 23 additions and 0 deletions.
  1. +2 −0 Gemfile
  2. +2 −0 Gemfile.lock
  3. +19 −0 config/newrelic.yml
View
@@ -16,6 +16,8 @@ gem 'carrierwave-mongoid', :require => 'carrierwave/mongoid'
gem 'fog'
gem 'rmagick'
+gem 'newrelic_rpm'
+
group :assets do
gem 'sass-rails', '~> 3.1.4'
gem 'coffee-rails', '~> 3.1.1'
View
@@ -128,6 +128,7 @@ GEM
net-scp (1.0.4)
net-ssh (>= 1.99.1)
net-ssh (2.3.0)
+ newrelic_rpm (3.3.1)
nokogiri (1.5.0)
oauth2 (0.5.2)
faraday (~> 0.7)
@@ -226,6 +227,7 @@ DEPENDENCIES
jquery-rails
kaminari (~> 0.13.0)
mongoid (~> 2.4.1)
+ newrelic_rpm
omniauth-facebook
rails (~> 3.1.1)
rb-fsevent (~> 0.4.3)
View
@@ -0,0 +1,19 @@
+ ---
+ <%= ENV["RACK_ENV"] %>:
+ error_collector:
+ capture_source: true
+ enabled: true
+ ignore_errors: ActionController::RoutingError
+ apdex_t: 0.5
+ ssl: false
+ monitor_mode: true
+ license_key: <%= ENV["NEW_RELIC_LICENSE_KEY"] %>
+ developer_mode: false
+ app_name: <%= ENV["NEW_RELIC_APP_NAME"] %>
+ transaction_tracer:
+ record_sql: obfuscated
+ enabled: true
+ stack_trace_threshold: 0.5
+ transaction_threshold: apdex_f
+ capture_params: false
+ log_level: info

0 comments on commit 944728d

Please sign in to comment.