• EnglishEspañol日本語한국어Português
  • EntrarComeçar agora

Esta tradução de máquina é fornecida para sua comodidade.

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.

Criar um problema

ignore (SPA API)

Sintaxe

newrelic.interaction().ignore()

Substitui outras chamadas SPA save() ; ignora uma interação para que ela não seja salva ou enviada para o New Relic.

Requisitos

Descrição

Este método SPA fará com que uma interação seja ignorada. Ele não será salvo ou enviado para a New Relic. Este método substitui quaisquer chamadas anteriores ou subsequentes para save().

Valores de retorno

Este método retorna o mesmo objeto de API criado por interaction().

Exemplos

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.