This topic describes how to use the Network Quality Analyzer.
Step 1: Activate the Network Quality Analyzer
Log on to the Cloud Monitor console.
In the navigation pane on the left, choose .
Click Activate Now.
On the Network Quality Analyzer page, select the Terms of Service for Network Quality Analyzer check box, and then click Activate Now.
Step 2: Create a client application
You can create up to 32 client applications for an Alibaba Cloud account. If you require a higher quota, submit a ticket.
In the navigation pane on the left, choose .
On the Network Quality Analyzer page, click Client Management in the upper-right corner.
When you use the Network Quality Analyzer for the first time, follow the prompts to grant authorization. The system then creates a service-linked role named AliyunServiceRoleForIpaDataSync. For more information, see Manage service-linked roles.
On the Client Management page, click Create Client Application.
In the Create New Application panel, enter an Application Name and click Create.
NoteAfter you create the client application, the system automatically generates a key for the Software Development Kit (SDK). To retrieve the key, click View Key in the Actions column for the target client application.
Click Tag Management. In the Tag Management panel, configure a Tag Name and Remarks.
Scenarios:
To add a tag to a probe rule group, first create the tag in the Tag Management panel of the console. Then, select the tag in the Set Network Probe Rules panel in Step 2.
To add a tag to a user or device, use the SDK plugin to add the same tag that is used by the monitoring rule group.
Data for a user or device is monitored and displayed only when the tags of the monitoring rule group match the tags of the user or device.
Limits:
Tags must be globally unique within a single Alibaba Cloud account. You can attach tags only to monitoring rule groups.
A tag name can contain only letters, digits, hyphens (-), and underscores (_). Examples:
jp_2,id-3, andgameVip2. You can create a maximum of 32 tags. You can attach a maximum of 4 tags to each monitoring rule group. For more information about tag limits, see the Tag Rule Description at the bottom of the Tag Management panel.
Step 3: Set network monitoring rules
On the Client Management page, click Set Network Monitoring Rules in the Actions column for the target client application.
In the Set Network Monitoring Rules panel, set the parameters and then click Save.
ImportantYou can create a maximum of 16 monitoring groups for each client application and configure a maximum of 64 monitored objects in each monitoring group. If you require a higher quota, submit a ticket.
The values for time, ratio, and other numbers in this section are approximate.
The settings take effect in about 3 minutes.
Parameter
Description
Probe group name
Set the name for the probe group.
Monitored object collection
Set the information for the monitored objects. The parameters are described below.
Probe protocol: Set the probe protocol. Supported protocols include http, tcpping, mtr, ping, udp, dns, and dnsAAAA.
Domain name or IP: Enter the target domain name or IP address.
Port: Set the port number. You must specify a port number if you set Detection Protocol to tcpping or udp.
Probe payload: Enter a valid hexadecimal string. This parameter is required if Probe protocol is set to udp.
Probe frequency
Set the probe interval.
Probe source region
Select the region where you want to initiate network probes.
Probe client ratio
The percentage of devices that have the target app installed and can perform network probes.
Multi-NIC probe
Select Yes to enable multi-NIC (network interface card) probes. For example, probe the Wi-Fi and cellular networks on a mobile phone separately.
Advanced Configuration
SDK version requirements: Android SDK 0.2.2.0 or later, and iOS SDK 0.2.1.1 or later. You can get the SDK version from the sdkVer field. For more information, see Network probe field description.
Configuration parameters:
Supported operating systems: Includes All, Windows, iOS, and Android.
Single-round probe: Probe Count, Interval are valid only for Ping, TcpPing, Udp, and Mtr. Packet Size is valid only for Ping. Timeout is valid only for Ping, TcpPing, Udp, Mtr, and DNS probes.
Tag association: Add a tag to the probe rule group, and then select the tag here. Finally, use the SDK to add the same tag to the user or device. For more information, see SDK version guide.
Important
To use the tag association feature, you need Android SDK 1.0.0.0 or later and iOS SDK 1.0.0.0 or later. You can get the SDK version from the sdkVer field. For more information, see Network probe field description.
Each probe rule group can be associated with a maximum of four user or device tags.
Step 3: Integrate the SDK plugin in the app
Integrate the SDK plugin into the target application. For more information, see SDK integration.
After you integrate the SDK plugin into the application, start the application. The Network Quality Analyzer automatically performs network monitoring.
All changes to network monitoring rules take effect in about 3 minutes. After the changes take effect, restart the application or wait 10 minutes. The Network Quality Analyzer then performs network monitoring based on the new rules.
Related operations
After you create a client application, you can also perform the following operations on the Client Management page.
Operation | Description |
Update client application name | Find the target client application and click the |
Delete client application | Find the target client application and click Delete to delete it. Warning If you delete a client application, its key becomes invalid and all its network probe rules are disabled. Probes initiated by the client will not be executed or reported. The deletion takes effect within 15 minutes and stops the collection of global user probe data. |
Enable client application | Find the target client application and click the After you enable the application, its network probe rules start probing. The change takes effect globally in about 3 minutes. |
Disable client application | Find the target client application and click the Warning If you disable a client application, all its network probe rules are disabled. However, this does not affect probes initiated by the client or data reporting. The operation takes effect within 15 minutes and stops the collection of global user probe data. |
Update probe group information | In the list for the target client application, find the target probe group and click Edit to update its configuration. |
Configuration - Tag Management | Click Tag Management. In the Tag Management panel, configure Tag Name and Remarks.
|
Delete probe group | In the list for the target client application, find the target probe group and click Delete to delete it. |