Alibaba Cloud VPC Peering Connection
Collect Alibaba Cloud VPC Peering Connection data
Configuration¶
Install Func¶
It is recommended to activate the Guance Integration - Extensions - DataFlux Func (Automata)
For self-deploying Func, refer to Self-deploy Func
Activate Script¶
Note: Please prepare the required Alibaba Cloud AK in advance (for simplicity, you can directly grant the global read-only permission
ReadOnlyAccess)
-
Log in to the Func console, click [Script Market], enter the Guance script market, and search for:
integration_alibabacloud_vpcpeer -
Click [Install], then enter the corresponding parameters: Alibaba Cloud AK ID, AK Secret, and account name.
-
Click [Deploy Startup Script], the system will automatically create a
Startupscript set and configure the corresponding startup script. -
After activation, you can see the corresponding automatic trigger configuration under "Manage / Automatic Trigger Configurations". Click [Execute] to run it immediately without waiting for the scheduled time. Wait a moment, then you can check the execution task records and corresponding logs.
Verification¶
- Under "Manage / Automatic Trigger Configurations", confirm whether the corresponding task has the corresponding automatic trigger configuration. You can also check the corresponding task records and logs to see if there are any exceptions.
- In Guance, check under "Infrastructure / Custom" to see if asset information exists.
- In Guance, check under "Metrics" to see if there is corresponding monitoring data.
Metrics¶
Alibaba Cloud VPC Peering Connection metrics are under the aliyun_acs_vpcpeer Measurement. Below are the metric descriptions.
| Metric | Original Metric | MetricDescribe | Dimensions | Unit |
|---|---|---|---|---|
| intranet_rx_sum | IntranetRX |
Inbound traffic within the period | userId,regionId,instanceId,vpcId | B |
| intranet_tx_sum | IntranetTX |
Inbound traffic within the period | userId,regionId,instanceId,vpcId | B |
| rate_limit_drop_pps | RateLimitDropPps |
Network rate limit packet drop rate | userId,regionId,instanceId,vpcId | pps |
| receive_bandwidth_average | ReceiveBandwidth |
Inbound bandwidth | userId,regionId,instanceId,vpcId | bits/s |
| transported_bandwidth_average | TransportedBandwidth |
Outbound bandwidth | userId,regionId,instanceId,vpcId | bits/s |