• /
  • ログイン

newrelic_ignore_apdex (PHP agent API)

Syntax

newrelic_ignore_apdex()

Ignore the current transaction when calculating Apdex.

Requirements

Compatible with all agent versions.

Description

Ignores the current transaction when calculating your Apdex score. This is useful when you have either very short or very long transactions (such as file downloads) that can skew your Apdex score.

Parameters

This call does not accept any parameters.

Examples

function example() {
    if (extension_loaded('newrelic')) { // Ensure PHP agent is available
        newrelic_ignore_apdex();
    }
    ...
}

For more help

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

その他のヘルプ

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

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