Permalink
Browse files

Add New Relic APM.

  • Loading branch information...
1 parent fcdd60f commit df4fa8661150298e0686faa498dd4af9143ae941 Avdi Grimm committed Mar 27, 2012
Showing with 22 additions and 0 deletions.
  1. +1 −0 Gemfile
  2. +2 −0 Gemfile.lock
  3. +19 −0 config/newrelic.yml
View
@@ -69,6 +69,7 @@ gem "erector", '= 0.9.0.pre1'
gem 'anjlab-bootstrap-rails', '~> 2.0', :require => 'bootstrap-rails'
gem 'fattr'
gem 'rack_clicky'
+gem 'newrelic_rpm'
group :development do
gem "passenger"
View
@@ -118,6 +118,7 @@ GEM
treetop (~> 1.4.8)
mime-types (1.18)
multi_json (1.0.4)
+ newrelic_rpm (3.3.0)
passenger (3.0.11)
daemon_controller (>= 0.2.5)
fastthread (>= 1.0.1)
@@ -213,6 +214,7 @@ DEPENDENCIES
guard-passenger
guard-rspec
jquery-rails
+ newrelic_rpm
passenger
rack-test
rack_clicky
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 df4fa86

Please sign in to comment.