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

この機械翻訳は、参考として提供されています。

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.

問題を作成する

アプリケーションエラーレートの例(v2)

New Relic Data API (v2)を使用して、特定の期間におけるアプリケーションの平均エラーレートを取得する例を紹介します。この値は、 APM Summary ページError rate chart の上にパーセンテージで表示されます。

APIを利用するには、以下のものが必要です。

フォーミュラ

平均パーセンテージは、アプリの Summary ページError rate チャートの上に表示されます。New Relic ではこの式で計算しています。

Application Error Rate = 100 * Errors/all:error_count / (HttpDispatcher:call_count + OtherTransaction/all:call_count)

APIコマンド

metric timeslice の値を取得するには、次の3つのコマンドを使用します。この例では、各コマンドに同じ時間帯を使用し、すべてを要約しています。

エラーカウントを取得するには

HttpDispatcher のコールカウントを取得するには (Web アプリケーション)が必要です。

OtherTransactionのコールカウントを取得するには (非ウェブアプリ)をご利用ください。

Copyright © 2024 New Relic株式会社。

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