Help Center/ Direct Connect/ User Guide/ Cloud Eye Monitoring/ Network Quality Metrics (Plug-ins Required)
Updated on 2024-12-16 GMT+08:00

Network Quality Metrics (Plug-ins Required)

The network quality of connections is monitored using two plug-ins, and there are two key metrics: network latency and packet loss rate.

Direct Connect provides two monitoring plug-ins:

  • dc-nqa-collector: monitors the connections requested on the Direct Connect console.
  • history-dc-nqa-collector: monitors historical connections.

For details, see Installing the Direct Connect Metric Collection Plug-ins.

  • Automated connections are requested using the console and can be self-service or full-service connections. Each connection has at least a virtual gateway and a virtual interface, and their routes are automatically advertised. Connections in most regions are automated connections.
  • Historical connections are requested by email or phone. They do not have virtual gateways and virtual interfaces, and their routes must be configured manually. Historical connections exist only in some regions.

Constraints

  • For each virtual interface, only one VM can be configured for monitoring, or monitoring data may fail to be reported.
  • No images can be configured for the VM where the Direct Connect monitoring plug-ins are installed, or monitoring data may fail to be reported.
  • The VM where the Direct Connect monitoring plug-ins are installed must be in the same account and region as the virtual interface.

Procedure

  1. Configure the Direct Connect plug-ins.

    For details, see Installing Direct Connect Metric Collection Plug-ins.

  2. Configure the return route for the detection source IP address in the on-premises data center.

    Example route (A Huawei-developed device is used an example.)

    ip route-static 192.168.1.100 255.255.255.255 10.0.0.1

    This is to add a return route whose destination is the detection source IP address used in the on-premises data center and next hop is the local gateway configured on the corresponding virtual interface. This ensures that the return packets from the on-premises data center can reach the detection source in the VPC through the correct path.

Metrics

Table 1 Network quality metrics

ID

Metric Name

Description

Value Range

Monitored Object

Monitoring Interval

latency

Latency

Network latency of a connection

Unit: ms

≥ 0 ms

Connections and historical connections

1 minute

packet_loss_rate

Packet Loss Rate

Packet loss rate of a connection

Unit: Percentage

0–100%

Connections and historical connections

1 minute

Dimensions

Key

Value

virtual_interface_id

Virtual interface (associated with an automated connection)

history_direct_connect_id

Historical connection

Helpful Links

You can delete the plugins directory to delete the installed plug-ins based on your service requirements.

Command:

cd /usr/local/uniagent/extension/install/telescope/
rm -rf plugins/

Example:

The plugins directory is automatically created when the plug-ins are installed. Deleting this directory does not affect your services.