Home » Technology » Huawei AGC performance management function SDK Integration

Huawei AGC performance management function SDK Integration

  1. IntegrationSDK.

1) InAGCSelect the apps in my project on the website that require performance management enabled, Click Quality->Performance Management,Go to Performance Management Services page,Activate Service Now.

2)AddAGCPlug – in,InAndroid StudioLevel of projetbuild.gradleAdd to fileHUAWEI agcpPlug – in.

3)Application-levelbuild.gradleIn the document, Open at the top of the APM fileFunction switch.

4)AGC LoginWebsite,Click on my project,Under project settings app bar,Download profile “agconnect-services.json”.Copy the profile in the root of the application.

5)Ouvre.Android StudioNiveau d’applicationbuild.gradleDocumentation, Add the following APM SDK code integration.

6)InAPPModule(Application Level) Confused configuration for “proguard-rules.pro” Add the following exclusions to the .

7)Click “Sync Now” Synchronization of configuration links completed .

  1. See analysis of performance management.

1) Open the app with the phone , Here the author is using Huawei AGC Cloud phone debug function provided, Because it was tested with simulator, Could not send event because emulator is not in network, Used test phone cannot be sent due to of the intranet. A detailed explanation of the cloud debug function can be given in a later phase, This time it’s easy. .

Open.AGCWebsite, In my project-Quality- Cloud provisioning, Select a phone to start the test.

2)To packapkDownload, I already downloaded it. , Cloud debugging phone will be installed automatically , No automatic installation .

3) Click to launch the application ,Adoptionlogcat Log filtering function , You can see the application start、Apply screen and HTTP/HTTPS Recording of network performance monitoring requests. These records are marked as follows: com.huawei.agc.apms.

4)After compiling and running the application ,Just to AGC Console to see performance data. Enter “Quality > Performance Management”, Confirm that application performance data can be displayed correctly (In general,15 Display in minutes).

Click on”Overview”Go to overview page , Overview 30 Overview of issues and indicators .

The indicator overview includes “Boot time(Distribution by version)”、” Proportion of slow frames (Top5 activity)”、” Freeze Frame proportion (Top5 activity)”、”Long network request(Top5Pays/Regions)”Et” Network request success rate(Variation over time)”. On the overview page, you can quickly understand key performance metrics of your application, quickly identify application issues.

5)Click “Experiment Analytics”, Go to Experience Analytics statistics page, View interactive experience data for each app screen.

6)Click “Applied Analysis > Application startup time”,Input “Application startup time” page.

The top part of the page shows the overall data about the Application Startup Duration distribution.

Leave a Comment

This site uses Akismet to reduce spam. Learn how your comment data is processed.