• EnglishEspañol日本語한국어Português
  • 로그인지금 시작하기

이 한글 문서는 사용자의 편의를 위해 기계 번역되었습니다.

영문본과 번역본이 일치하지 않는 경우 영문본이 우선합니다. 보다 자세한 내용은 이 페이지를 방문하시기 바랍니다.

문제 신고

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 Inc.

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