You need to enable JavaScript to run this app.
Application Performance Management Plus

Application Performance Management Plus

Copy page
Download PDF
Android-side monitoring
No reporting from network monitoring
Copy page
Download PDF
No reporting from network monitoring
Prerequisites​
APMInsight network monitoring supports monitoring OkHttp network requests. Confirm that the project's network requests use OkHttp.​
Verification process​
  • Confirm that the specified version's network analytic module is enabled and the network sampling rate is configured, and confirm that sampling is hit on the client.​
  • All features > Platform settings > SDK reporting settings​
  • Confirm that network monitoring applies full sampling, or that the URL is in the allowlist, or that the URL is not in the blocklist.​
  • All features > Platform settings > Request settings​
  • Confirm that network monitoring is enabled on the client.​
  • Confirm that the code initializing OkHttp is under the package name specified in the above ApmPlugin allowlist "whiteList".​
  • ​图片​​
  • Confirm that the OkHttp network monitoring instrumentation succeeded.​
  • If the instrumentation succeeded, you can see the following logs.​
  • ​图片​​
  • You can see the changes in the compiled code.​
  • ​图片​​
  • Confirm that network data reporting occurred on the client.​
  • Set builder.debugMode(true); during initialization, then filter Logcat by the ApmInsight: keyword, and confirm that the Receive:NetData log exists.​
  • ​
    2020-11-17 11:47:36.778 13404-13404/com.example.apm.insight.demo D/ApmInsight: APM_INIT​
    // Initialization completed​
    2020-11-17 11:47:36.947 13404-13532/com.example.apm.insight.demo D/ApmInsight: APM_START​
    2020-11-17 11:47:46.957 13404-13532/com.example.apm.insight.demo D/ApmInsight: FetchSetting:​
    // Configuration pulled successfully​
    2020-11-17 11:47:46.974 13404-13532/com.example.apm.insight.demo D/ApmInsight: FinalSetting:​
    // Network monitoring data received​
    2020-11-17 11:47:48.284 13404-13617/com.example.apm.insight.demo D/ApmInsight: Receive:NetData​
    // Uploading monitoring data​
    2020-11-17 11:49:49.695 13404-13615/com.example.apm.insight.demo D/ApmInsight: Send:​
    url:https://tbm.snssdk.com/monitor/collect/c/performance/ response:200​
    ​
​
Last updated: 2026.10.23 11:17:25