• /
  • Log in
  • Free account

Application reporting and health status (v2)

To find the health and reporting status of an application, use the summary data available from the New Relic REST API.

Example status output

Using the methods described to get summary information for applications, the output will be similar to this:

{
"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 status

The reporting status is provided by the "reporting": true, line returned as part of the application status. This status will change to falseif the application has not reported in 10 minutes. Also, when the status is false, the "last_reported_at":<time stamp> will no longer contain a timestamp.

Health status

The health status is provided by the "health_status": "green", line returned as part of the application status. The color returned in the API matches the app's health status indicators displayed in the UI.

Exception: The REST API uses orange instead of yellow. If the application is not associated with an alert policy, it will show as unknown.

Create issueEdit page
Copyright © 2022 New Relic Inc.