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

newrelic_ignore_transaction (PHP agent API)

Syntax

newrelic_ignore_transaction()

Do not instrument the current transaction.

Requirements

Compatible with all agent versions.

Description

Do not generate data for this transaction. This is useful when you have transactions that are particularly slow for known reasons and you do not want them frequently generating transaction traces or skewing your site averages.

Parameters

This call does not accept any parameters.

Examples

function example() {
if (extension_loaded('newrelic')) { // Ensure PHP agent is available
newrelic_ignore_transaction();
}
...
}
Copyright © 2024 New Relic株式会社。

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