• 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)

요약 데이터는 여러 소스에서 제공되며 선택한 애플리케이션, 호스트 또는 주요 트랜잭션의 현재 상태를 나타내는 데이터로 구성됩니다.

요약 데이터 값

요약 데이터는 summarize 를 사용하여 측정항목 값의 평균 을 얻는 것과 다릅니다. 요약 데이터는 키 값에 대한 이동 평균을 나타냅니다. 이 평균의 시간 기준은 데이터 소스에 따라 다를 수 있습니다. New Relic REST API 호출에서 시간 범위 를 지정하여 제어하지 않습니다.

또한, 제시된 데이터는 다른 수단으로 획득할 수 있는 특정 메트릭 타임슬라이스 데이터 값에 해당할 수 있습니다. 그러나 요약 데이터는 시간축의 차이와 이동 평균의 특성으로 인해 해당 값과 일치하지 않습니다.

애플리케이션 요약 예시

New Relic은 응용 프로그램에 대한 요약 정보를 평균 3-4분 단위 로 제공합니다.

요약 데이터를 얻으려면...

이게 ...

귀하의 계정에 대한 모든 애플리케이션에 대해

bash
$
curl -X GET 'https://api.newrelic.com/v2/applications.json' \
>
-H "Api-Key:$API_KEY" -i

특정 애플리케이션의 경우

앱 이름과 함께 filter 을 포함합니다. 이름에 공백이 포함된 경우(예: "My Web Page") 공백을 + 기호로 바꾸십시오. 예를 들어:

bash
$
curl -X GET 'https://api.newrelic.com/v2/applications.json' \
>
-H "Api-Key:$API_KEY" -i \
>
-d 'filter[name]=My+Web+Page'

앱 ID 를 사용하여

${APP_ID} 을 ID로 바꿉니다.

bash
$
curl -X GET "https://api.newrelic.com/v2/applications/$APP_ID.json" \
>
-H "Api-Key:$API_KEY" -i

이러한 방법 중 하나를 사용하면 출력이 다음과 유사합니다.

{
"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,
"application_hosts": [
2927654,
3940051,
3943274,
3943065,
3943513,
3943146
]
}
}
]
}

주요 거래 요약 예시

New Relic은 주요 거래에 대한 요약 정보를 10분 평균 으로 제공합니다.

중요

주요 거래에 대한 요약 데이터만 얻을 수 있습니다. 이에 대한 메트릭 타임슬라이스 데이터를 얻으려면 상위 트랜잭션을 사용하십시오.

요약 데이터를 얻으려면...

이게 ...

계정의 모든 주요 거래에 대해

bash
$
curl -X GET 'https://api.newrelic.com/v2/key_transactions.json' \
>
-H "Api-Key:$API_KEY" -i

특정 키 트랜잭션의 경우

키 트랜잭션 이름과 함께 filter 을 포함합니다(예: "Customer:Reaction"). New Relic은 사용자가 제공하는 문자열에 대해 단순 문자열 일치를 사용합니다. REGEXP 기능을 사용할 수 없습니다. 예를 들어::

bash
$
curl -X GET 'https://api.newrelic.com/v2/key_transactions.json' \
>
-H "Api-Key:$API_KEY" -i \
>
-d 'filter[name]=Customer:Reaction'

키 트랜잭션 ID 를 사용하여

${KT_ID} 을 ID로 바꿉니다. 예를 들어:

bash
$
curl -X GET "https://api.newrelic.com/v2/key_transactions/$KT_ID.json" \
>
-H "Api-Key:$API_KEY" -i

이러한 방법 중 하나를 사용하면 출력이 다음과 유사합니다.

{
"key_transaction": {
"id": 2247,
"name": "Customer:Reaction",
"transaction_name": "/ws/Reaction",
"application_summary": {
"response_time": 74.1,
"throughput": 98.3,
"error_rate": 0,
"apdex_target": 0,
"apdex_score": 1
},
"links": {
"application": 1128081
}
},
"links": {
"key_transaction.application": "/v2/applications/{application_id}"
}
}
Copyright © 2024 New Relic Inc.

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