Volcengine EIP
Collect Volcengine EIP Metrics
Configuration¶
Permissions¶
We recommend granting the global read-only policy ReadOnlyAccess, or configuring the permissions required by this integration as listed below.
vpc:DescribeEipAddresses: Get elastic public IP information.volc_observe:GetMetricData: Read cloud monitoring metric data through theGetMetricDataAPI.
Install Func¶
It is recommended to activate the TrueWatch Integration - Extensions - DataFlux Func (Automata): All prerequisites are automatically installed, please proceed with the script installation.
If you are deploying Func manually, refer to Manual Deployment of Func
Install Script¶
Prepare Volcengine AK in advance and authorize access as described in Permissions.
To synchronize the monitoring data of EIP cloud resources, we install the corresponding collection script: "TrueWatch Integration (Volcengine-EIP Collection)" (ID: integration_volcengine_eip).
Click [Install], then input the corresponding parameters: Volcengine AK, Volcengine Account Name, and Regions.
Click [Deploy Startup Script], the system will automatically create a Startup script set and configure the corresponding startup scripts.
After enabling, you can see the corresponding automatic trigger configuration in "Manage / Auto Trigger Configuration". Click [Execute] to immediately execute it once without waiting for the scheduled time. Wait a moment, and you can view the execution task records and corresponding logs.
Verification¶
- In "Manage / Auto Trigger Configuration", confirm whether the corresponding task has the corresponding automatic trigger configuration, and check the corresponding task records and logs for any anomalies.
- In TrueWatch, check if there is asset information in "Infrastructure - Resource Catalog".
- In TrueWatch, check if there are corresponding monitoring data in "Metrics".
Metrics¶
Configure Volcengine EIP monitoring metrics, and collect more metrics through configuration Volcengine EIP Metrics Details
MetricName |
Subnamespace |
Metric Name | MetricUnit | Dimension |
|---|---|---|---|---|
InTraffic |
Instance |
Inbound Traffic | Bytes | ResourceID |
OutTraffic |
Instance |
Outbound Traffic | Bytes | ResourceID |
InPackets |
Instance |
Inbound Packets | Count | ResourceID |
OutPackets |
Instance |
Outbound Packets | Count | ResourceID |
InBPS |
Instance |
Inbound Bandwidth | Bits/Second | ResourceID |
OutBPS |
Instance |
Outbound Bandwidth | Bits/Second | ResourceID |
InPacketsRate |
Instance |
Inbound Packet Rate | Packet/Second | ResourceID |
OutPacketsRate |
Instance |
Outbound Packet Rate | Packet/Second | ResourceID |
OutPacketsDropRate |
Instance |
Outbound Packet Drop Rate | Packet/Second | ResourceID |
OutRatePercentage |
Instance |
Outbound Bandwidth Utilization | Percent | ResourceID |
InRatePercentage |
Instance |
Inbound Bandwidth Utilization | Percent | ResourceID |
InPacketsDropRate |
Instance |
Inbound Packet Drop Rate | Packet/Second | ResourceID |
Object¶
The collected Volcengine EIP object data structure can be seen in "Infrastructure - Resource Catalog"
{
"measurement": "volcengine_eip",
"tags": {
"AllocationId" : "eip-xxxxlsmpds73inqkqifze9",
"Description" : "",
"EipAddress" : "14.103.xx.xx",
"RegionId" : "cn-guangzhou",
"ProjectName" : "default",
"name" : "url-5gwfnylsmpds73inqkxxxx"
},
"fileds": {
"AllocationTime": "2024-12-08T21:42:17+08:00",
"Bandwidth" : 115,
"ExpiredTime" : "",
"ISP" : "BGP"
"InstanceId" : "i-ydkgzgx14wwuxjsfi06q",
"InstanceType" : "EcsInstance",
"IsBlocked" : false,
"Status" : "Attached",
"Tags" : "[]"
}
}