• EnglishEspañol日本語한국어Português
  • Inicia sesiónComenzar ahora

Te ofrecemos esta traducción automática para facilitar la lectura.

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.

Crea una propuesta

ignore (SPA API)

Sintaxis

newrelic.interaction().ignore()

Anula otras llamadas SPA save() ; ignora una interacción por lo que no se guarda ni se envía a New Relic.

Requisitos

Descripción

Este método SPA hará que se ignore una interacción. No se guardará ni se enviará a New Relic. Este método anula cualquier llamada anterior o posterior a save().

Valores de retorno

Este método devuelve el mismo objeto API creado por interaction().

Ejemplos

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.