-
Notifications
You must be signed in to change notification settings - Fork 131
/
Copy pathnewrelic.yml
48 lines (48 loc) · 1.29 KB
/
newrelic.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
common: &default_settings
code_level_metrics:
enabled: false
distributed_tracing:
enabled: false
application_logging:
forwarding:
enabled: false
development:
<<: *default_settings
monitor_mode: false
production:
<<: *default_settings
agent_enabled: true
app_name: <%= Identity::Hostdata.env %>.<%= Identity::Hostdata.domain %>
host: 'gov-collector.newrelic.com'
audit_log:
enabled: false
browser_monitoring:
auto_instrument: false
capture_params:
developer_mode:
error_collector:
enabled: true
capture_source: true
ignore_classes: "<%= %w[
ActionController::BadRequest
ActionController::ParameterMissing
ActionController::RoutingError
ActionController::UnknownHttpMethod
ActionDispatch::Http::MimeNegotiation::InvalidType
ActionDispatch::Http::Parameters::ParseError
GoodJob::ActiveJobExtensions::Concurrency::ConcurrencyExceededError
RiscDeliveryJob::DeliveryError
].join(',') %>"
license_key: <%= IdentityConfig.store.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:
test:
<<: *default_settings
monitor_mode: false