Skip to content

Commit

Permalink
Merge pull request hotsh#440 from clnclarinet/newrelic
Browse files Browse the repository at this point in the history
Adding newrelic
  • Loading branch information
LindseyB committed Jan 8, 2012
2 parents 1a464ee + df4187a commit ce36abf
Show file tree
Hide file tree
Showing 3 changed files with 22 additions and 0 deletions.
1 change: 1 addition & 0 deletions Gemfile
Original file line number Diff line number Diff line change
Expand Up @@ -33,6 +33,7 @@ gem "nokogiri"
gem "tzinfo"
gem "rsa"
gem "exceptional"
gem "newrelic_rpm"

# background job queue
gem "delayed_job", :git => "git://github.com/collectiveidea/delayed_job.git", :tag => "v2.1.4"
Expand Down
2 changes: 2 additions & 0 deletions Gemfile.lock
Original file line number Diff line number Diff line change
Expand Up @@ -171,6 +171,7 @@ GEM
multipart-post (1.1.3)
mustache (0.99.4)
net-ldap (0.2.2)
newrelic_rpm (3.3.1)
nokogiri (1.5.0)
oauth (0.4.5)
oauth2 (0.5.0)
Expand Down Expand Up @@ -310,6 +311,7 @@ DEPENDENCIES
launchy
mocha
mongo_mapper
newrelic_rpm
nokogiri
omniauth!
opub
Expand Down
19 changes: 19 additions & 0 deletions config/newrelic.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
---
production:
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 ce36abf

Please sign in to comment.