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

この機械翻訳は参考用に提供されます。

英語版と翻訳版に矛盾がある場合は、英語版が優先されます。詳細については、このページ を参照してください。

問題を作成する

アプリケーションの報告と健康状態(v2)

アプリケーションの ヘルス やレポーティングの状態を調べるには、New Relic REST API から利用できる サマリーデータ を使用します。

ステータス出力例

アプリケーションの サマリー情報 を取得するために説明した方法を使用すると、出力は以下のようになります。

{
"applications": [
{
"id": 1129082,
"name": "My Web Page",
"language": "java",
"health_status": "green",
"reporting": true,
"last_reported_at": "2014-07-29T23:45:07+00:00",
"application_summary": {
"response_time": 304,
"throughput": 4570,
"error_rate": 0.0016,
"apdex_target": 523,
"apdex_score": 0.97
},
"end_user_summary": {
"response_time": 3.73,
"throughput": 0.333,
"apdex_target": 0,
"apdex_score": 1
},
"settings": {
"app_apdex_threshold": 0.5,
"end_user_apdex_threshold": 7,
"enable_real_user_monitoring": true,
"use_server_side_config": true
},
"links": {
"application_instances": [
2928655,
3941052,
3940275,
3944066,
3943114,
3943147
],
"alert_policy": 41534,
"servers": [],
"application_hosts": [
2927654,
3940051,
3943274,
3943065,
3943513,
3943146
]
}
}
]
}

報告状況

レポート ステータスは、アプリケーション ステータスの一部として返される "reporting": true, 行によって提供されます。アプリケーションが 10 分間報告しない場合、このステータスは falseに変わります。また、ステータスが falseの場合、 "last_reported_at":<time stamp> にはタイムスタンプが含まれなくなります。

健康状態

正常性ステータスは 、アプリケーション ステータスの一部として返される "health_status": "green", 行によって提供されます。API で返される色は、UI に表示されるアプリの正常性ステータス インジケーターと一致します。

例外: REST API は、 yellowの代わりに orange を使用します。アプリケーションがアラート ポリシーに関連付けられていない場合は、 unknownと表示されます。

Copyright © 2024 New Relic株式会社。

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