• /
  • ログイン
  • 無料アカウント

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();
    }
    ...
}

For more help

If you need more help, check out these support and learning resources:

その他のヘルプ

さらに支援が必要な場合は、これらのサポートと学習リソースを確認してください:

問題を作成するこのページを編集する
Copyright © 2020 New Relic Inc.