tencent cloud

All product documents
Tencent Cloud Observability Platform
Network Monitoring
Last updated: 2024-05-14 12:36:06
Network Monitoring
Last updated: 2024-05-14 12:36:06

Enabling Feature

Network monitoring requires the use of the qapm-plugin for instrumentation and is by default inserted at various entry and exit points of the network layer.

Prerequisites

A user allowlist or device allowlist, which is used to initialize the SDK, has been added through the Mobile App Performance Monitoring > Application Management > Allowlist Management page.
The qapm-plugin has been configured in the app-level build.gradle. See Integration and Initialization.
Currently, only okhttp3 monitoring is supported. The okhttp3 also requires okio version 1.14.0 or later.

Configuration Process

Add obfuscation rules in the proguard-rules.pro file in the app directory to prevent okttp3 code from being obfuscated.
-keep class com.squareup.okhttp3.**{*;}





Verifying Whether the Feature Is Working Properly

Retrieval tag:QAPM_manager_QAPMPluginManager
The log message that appears one minute after each network request indicates successful reporting of network data:


Retrieval tag: [plugin::142]


Note:
It requires the use of the qapm-plugin for instrumentation. Otherwise, it will not work.
The SDK is only responsible for capturing information related to network requests. The backend analyzes issue data, such as slow requests (with the request time being greater than xxs) and network errors (with the request response code being greater than 400).
If the correct allowlist is not configured, the SDK will not enable network monitoring.
Was this page helpful?
You can also Contact Sales or Submit a Ticket for help.
Yes
No

Feedback

Contact Us

Contact our sales team or business advisors to help your business.

Technical Support

Open a ticket if you're looking for further assistance. Our Ticket is 7x24 avaliable.

7x24 Phone Support
Hong Kong, China
+852 800 906 020 (Toll Free)
United States
+1 844 606 0804 (Toll Free)
United Kingdom
+44 808 196 4551 (Toll Free)
Canada
+1 888 605 7930 (Toll Free)
Australia
+61 1300 986 386 (Toll Free)
EdgeOne hotline
+852 300 80699
More local hotlines coming soon