Skip to content

Commit

Permalink
fix: Exclude WebResource.axd and ScriptResource.axd from browser inst…
Browse files Browse the repository at this point in the history
…rumentation (via default config). (#1711)
  • Loading branch information
tippmar-nr authored Jun 12, 2023
1 parent 69d15df commit 2fcce95
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion src/Agent/Configuration/newrelic.config
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,12 @@
<code>404</code>
</ignoreStatusCodes>
</errorCollector>
<browserMonitoring autoInstrument="true" />
<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>
Expand Down

0 comments on commit 2fcce95

Please sign in to comment.