forked from moredip/caseflow-certification
-
Notifications
You must be signed in to change notification settings - Fork 0
/
newrelic.yml
49 lines (41 loc) · 1.5 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
49
#
# Generated November 03, 2017
#
# For full documentation of agent configuration options, please refer to
# https://docs.newrelic.com/docs/agents/ruby-agent/installation-configuration/ruby-agent-configuration
common: &default_settings
app_name: Caseflow
# Logging level for log/newrelic_agent.log
log_level: info
# Exception messages may have PII, so we won't send them.
# If we are sure that certain exceptions will not have PII, then we can whitelist them in this config file.
strip_exception_messages.enabled: true
# To avoid sending PII, we explicitly deny all headers and parameters. We then whitelist known safe attributes.
attributes.exclude: [response.headers.*, request.headers.*, request.parameters.*]
attributes.include: [
response.headers.contentType,
response.headers.contentLength,
request.headers.userAgent,
request.headers.accept,
request.headers.host,
request.headers.contentType,
]
# Environment-specific settings are in this section.
# RAILS_ENV or RACK_ENV (as appropriate) is used to determine the environment.
# If your application has other named environments, configure them here.
development:
<<: *default_settings
app_name: Caseflow (Local Dev)
agent_enabled: false
demo:
<<: *default_settings
app_name: Caseflow (Demo)
test:
<<: *default_settings
# It doesn't make sense to report to New Relic from automated test runs.
monitor_mode: false
staging:
<<: *default_settings
app_name: Caseflow (Staging)
production:
<<: *default_settings