• EnglishEspañol日本語한국어Português
  • ログイン今すぐ開始

この機械翻訳は、参考として提供されています。

In the event of any inconsistency between the English version and the translated version, the English versionwill take priority. Please visit this page for more information.

問題を作成する

ignore (SPA API)

構文

newrelic.interaction().ignore()

他の SPA save()呼び出しをオーバーライドします。インタラクションを無視するため、New Relic に保存または送信されません。

要件

説明

この SPA メソッドにより、対話が無視されます。保存されたり、New Relic に送信されたりすることはありません。このメソッドは、以前または後続のsave()への呼び出しをオーバーライドします。

戻り値

このメソッドは、 interaction()によって作成されたものと同じAPIオブジェクトを返します。

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.
});
Copyright © 2024 New Relic株式会社。

This site is protected by reCAPTCHA and the Google Privacy Policy and Terms of Service apply.