add newrelic
This commit is contained in:
parent
97e06c556f
commit
68caf0e26e
39
config/newrelic.yml
Normal file
39
config/newrelic.yml
Normal file
|
@ -0,0 +1,39 @@
|
|||
---
|
||||
staging:
|
||||
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
|
||||
|
||||
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
|
||||
|
|
@ -12,6 +12,7 @@ require 'redis'
|
|||
require 'gh'
|
||||
require 'hubble'
|
||||
require 'hubble/middleware'
|
||||
require 'newrelic_rpm'
|
||||
|
||||
# Rack class implementing the HTTP API.
|
||||
# Instances respond to #call.
|
||||
|
|
Loading…
Reference in New Issue
Block a user