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

문제 신고

앱 실행 시간 구성

Android 에이전트를 사용하면 "콜드 타임" 및 "핫 타임"이라고도 하는 앱 실행 시간을 보고할 수 있습니다.

앱 실행 시간 구성

중요

이 기능은 에이전트 버전 6.9.0 이상에서 사용할 수 있습니다.

Android 에이전트가 앱 실행 시간을 보고하도록 하려면 다음을 애플리케이션의 AndroidManifest.xml 에 추가합니다.

<application>
<!-- make sure to provide unique authorities if apply to multiple apps on the same device -->
<provider
android:name="com.newrelic.agent.android.rum.contentprovider.NewRelicAppContentProvider"
android:authorities="com.newrelic.android.agent.nrprovider.${applicationId}"
android:initOrder="200"
android:exported="false"/>
</application>

앱 시작 시간은 AppLaunch/ColdAppLaunch/Hot 측정항목 으로 보고됩니다. 이러한 시작 시간 지표를 추적하려면 Query builder [쿼리 빌더를] 사용하여 사용자 정의 대시보드를 생성할 수 있습니다. Query builder [쿼리 빌더를] 사용하려면 one.newrelic.com > All capabilities > Capabilities > Query builder 로 이동하세요.

다음은 콜드 및 핫 시작 시간을 캡처하기 위한 샘플 쿼리입니다.

SELECT average(newrelic.timeslice.value ) AS 'AppLaunch/Cold' FROM Metric WHERE metricTimesliceName = 'AppLaunch/Cold' AND entity.guid = 'YOUR_APP_TOKEN' SINCE 1664218800000 UNTIL 1664220600000 TIMESERIES

데이터가 표시되지 않으면 logcat 출력에서 오류를 검토하세요.

Copyright © 2024 New Relic Inc.

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