Syntax
newrelic.interaction().ignore()
Overrides other SPA save() calls; ignores an interaction so it is not saved or sent to New Relic.
Requirements
Agent version nr-963 or higher.
Description
This SPA method will cause an interaction to be ignored. It will not be saved or sent to Browser. This method overrides any previous or subsequent calls to save()
.
Return values
This method returns the same API object created by interaction()
.
Examples
router.addRoute('/uninteresting-route', () => { newrelic.interaction() // Get handle to current interaction. .ignore() // Ignore this interaction to ensure it will not be saved. renderUninterestingRoute() // Render route.})
その他のヘルプ
さらに支援が必要な場合は、これらのサポートと学習リソースを確認してください:
- Explorers Hubでは、コミュニティからのサポートを受けたり、ディスカッションに参加したりすることができます。
- 当社サイトで答えを見つけて、サポートポータルの使用方法を確認してください。
- Linux、Windows、およびmacOS向けトラブルシューティングツールであるNew Relic Diagnosticsを実行してください。
- New Relicのデータセキュリティとライセンスドキュメント をご確認ください。