Skip to content

Commit

Permalink
Merge pull request #1699 from 18F/margolis-newrelic-config
Browse files Browse the repository at this point in the history
Put newrelic config in source control
  • Loading branch information
monfresh authored Oct 13, 2017
2 parents 2900007 + ef81a2a commit 2e14b4a
Show file tree
Hide file tree
Showing 3 changed files with 27 additions and 3 deletions.
1 change: 0 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,6 @@ Vagrantfile
/certs/saml.crt
/config/application.yml
/config/aws.yml
/config/newrelic.yml
/keys/saml.key.enc
/keys/equifax_rsa
/keys/equifax_rsa.pub
Expand Down
6 changes: 4 additions & 2 deletions config/application.yml.example
Original file line number Diff line number Diff line change
Expand Up @@ -88,6 +88,7 @@ development:
logins_per_ip_period: '8'
newrelic_browser_key: ''
newrelic_browser_app_id: ''
newrelic_license_key: ''
otp_delivery_blocklist_findtime: '5'
otp_delivery_blocklist_maxretry: '10'
otp_valid_for: '5'
Expand Down Expand Up @@ -146,8 +147,9 @@ production:
logins_per_ip_limit: '20'
logins_per_ip_period: '8'
mandrill_api_token: '' # Empty string to switch to SES
newrelic_browser_key:
newrelic_browser_app_id:
newrelic_browser_key: ''
newrelic_browser_app_id: ''
newrelic_license_key: ''
otp_delivery_blocklist_findtime: '5'
otp_delivery_blocklist_maxretry: '10'
otp_valid_for: '5'
Expand Down
23 changes: 23 additions & 0 deletions config/newrelic.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
production:
agent_enabled: true
app_name: <%= LoginGov::Hostdata.env %>.<%= LoginGov::Hostdata.domain %>
audit_log:
enabled: false
browser_monitoring:
auto_instrument: false
capture_params:
developer_mode:
error_collector:
capture_source: true
enabled: true
ignore_errors: "ActionController::RoutingError,ActionController::BadRequest"
license_key: <%= Figaro.env.newrelic_license_key! %>
log_level: info
monitor_mode: true
transaction_tracer:
enabled: true
record_sql: obfuscated
stack_trace_threshold: 0.500
transaction_threshold: apdex_f
proxy_host:
proxy_port:

0 comments on commit 2e14b4a

Please sign in to comment.