-
Notifications
You must be signed in to change notification settings - Fork 55
/
newrelic.config
46 lines (45 loc) · 1.6 KB
/
newrelic.config
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
<?xml version="1.0"?>
<!-- Copyright (c) 2008-2020 New Relic, Inc. All rights reserved. -->
<!-- For more information see: https://docs.newrelic.com/docs/agents/net-agent/configuration/net-agent-configuration/ -->
<configuration xmlns="urn:newrelic-config" agentEnabled="true">
<service licenseKey="REPLACE_WITH_LICENSE_KEY" />
<application>
<name>My Application</name>
</application>
<log level="info" />
<allowAllHeaders enabled="true" />
<attributes enabled="true">
<exclude>request.headers.cookie</exclude>
<exclude>request.headers.authorization</exclude>
<exclude>request.headers.proxy-authorization</exclude>
<exclude>request.headers.x-*</exclude>
<include>request.headers.*</include>
</attributes>
<transactionTracer enabled="true"
transactionThreshold="apdex_f"
stackTraceThreshold="500"
recordSql="obfuscated"
explainEnabled="false"
explainThreshold="500" />
<distributedTracing enabled="true" />
<errorCollector enabled="true">
<ignoreClasses>
<errorClass>System.IO.FileNotFoundException</errorClass>
<errorClass>System.Threading.ThreadAbortException</errorClass>
</ignoreClasses>
<ignoreStatusCodes>
<code>401</code>
<code>404</code>
</ignoreStatusCodes>
</errorCollector>
<browserMonitoring autoInstrument="true">
<requestPathsExcluded>
<path regex="WebResource\.axd" />
<path regex="ScriptResource\.axd" />
</requestPathsExcluded>
</browserMonitoring>
<threadProfiling>
<ignoreMethod>System.Threading.WaitHandle:InternalWaitOne</ignoreMethod>
<ignoreMethod>System.Threading.WaitHandle:WaitAny</ignoreMethod>
</threadProfiling>
</configuration>