In agent version 1211 or higher, all network requests made by a page are recorded as AjaxRequest
events. You can use the deny list configuration options in the Application settings page to filter which requests record events.
Regardless of this filter, all network requests are captured as metrics and available in the AJAX page.
Using the deny list
Requests can be blocked in three ways:
- To block recording of all
AjaxRequest
events, add an asterisk*
as a wildcard. - To block recording of
AjaxRequest
events to a domain, enter just the domain name. Example:example.com
- To block recording of
AjaxRequest
events to a specific domain and path, enter the domain and path. Example:example.com/path
The protocol, port, search and hash of a URL are ignored by the deny list.
Access the deny list
To update the deny list of URLs your application will filter from creating events, go to the app settings page:
- Go to one.newrelic.com, and click Browser.
- Select an app.
- On the left navigation, click App settings.
- Under Ajax Request Deny List, add the filters you would like to apply to your app.
- Select Save application settings to update the agent configuration.
- Redeploy the browser agent (either restarting the associated APM agent or updating the copy/paste browser installation).
Validation
To validate whether the filters you have added work as expected, run a NRQL query for AjaxRequest
events matching your filter.
FROM AjaxRequest SELECT * WHERE requestUrl LIKE `%example.com%`
その他のヘルプ
さらに支援が必要な場合は、これらのサポートと学習リソースを確認してください:
- Explorers Hubでは、コミュニティからのサポートを受けたり、ディスカッションに参加したりすることができます。
- 当社サイトで答えを見つけて、サポートポータルの使用方法を確認してください。
- Linux、Windows、およびmacOS向けトラブルシューティングツールであるNew Relic Diagnosticsを実行してください。
- New Relicの とandドキュメント をご確認ください。