Alibaba Cloud VPC Peering Connection
Collect Alibaba Cloud VPC peering connections
Configuration¶
Install Func¶
It is recommended to activate the Guance Integration - Extensions - DataFlux Func (Automata)
If you need to deploy Func yourself, refer to Self-deploy Func
Activate Script¶
Note: Please prepare the Alibaba Cloud AK that meets the requirements 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 automatically configure the corresponding startup script. -
After activation, you can see the corresponding automatic trigger configuration in [Manage / Automatic Trigger Configurations]. Click [Execute] to execute it immediately without waiting for the scheduled time. Wait a moment, you can check the execution task records and corresponding logs.
Verification¶
- In [Manage / Automatic Trigger Configurations], confirm whether the corresponding task has the corresponding automatic trigger configuration, and you can also check the corresponding task records and logs to see if there are any exceptions.
- In Guance, check whether asset information exists in [Infrastructure / Custom].
- In Guance, check in [Metrics] whether there is corresponding monitoring data.
Metrics¶
Alibaba Cloud VPC peering connection metrics are under the aliyun_acs_vpcpeer Measurement. The following is the metric description.
| 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 loss 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 |