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

문제 신고

평균 메트릭 값 계산(요약)

기본적으로 New Relic REST API 호출은 시간 범위 제한 에 따라 일련의 메트릭 데이터 값을 반환합니다. 이러한 값의 평균을 얻으려면 API 호출에 &summarize=true 을 포함합니다. 예를 들어:

curl -X GET "https://api.newrelic.com/v2/applications/${APP_ID}/metrics/data.json" \
     -H "Api-Key:$API_KEY" -i \
     -d 'names[]=Agent/MetricsReported/count&from=2014-08-11T14:42:00%2B08:00&to=2014-08-11T15:12:00%2B08:00&summarize=true'

EU 지역 계정 이 있는 경우 위 URL은 https://api.eu.newrelic.com 으로 시작합니다.

데이터 요약을 방지하려면 API 호출에서 summarize 을 생략합니다. &summarize=false 을 지정할 필요가 없습니다.

Copyright © 2024 New Relic Inc.

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