Volcengine ECS¶
The displayed Metrics of Volcengine ECS include CPU utilization, memory utilization, network bandwidth, and disk IOPS. These Metrics reflect the computing, memory, network, and storage performance of ECS instances.
Configuration¶
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¶
Note: Please prepare the required Volcengine AK in advance (for simplicity, you can directly grant the global read-only permission
ReadOnlyAccess
)
To synchronize the monitoring data of ECS cloud resources, we install the corresponding collection script: 「TrueWatch Integration (Volcengine-ECS Collection)」(ID: integration_volcengine_ecs
)
After clicking 【Install】, enter the corresponding parameters: Volcengine AK, Volcengine account name.
Click 【Deploy Startup Script】, the system will automatically create the Startup
script set and configure the corresponding startup scripts.
After enabling, you can see the corresponding automatic trigger configuration in 「Manage / Automatic Trigger Configuration」. Click 【Execute】 to immediately execute it once without waiting for the scheduled time. After a while, you can check the execution task records and corresponding logs.
If you want to collect corresponding logs, you also need to enable the corresponding log collection script. If you want to collect bills, you need to enable the cloud bill collection script.
Verification¶
- In 「Manage / Automatic Trigger Configuration」, confirm whether the corresponding task has the corresponding automatic trigger configuration, and you can also check the corresponding task records and logs to check for any exceptions
- In TrueWatch, check if there is asset information in 「Infrastructure / Custom」
- In TrueWatch, check if there is corresponding monitoring data in 「Metrics」
Metrics¶
After configuring Volcengine-Cloud Monitoring, the default Measurement is as follows. You can collect more Metrics through configuration Volcengine Cloud Monitoring Metrics Details
Note: You need to install the monitoring plugin in the
volcengine
ECS console
MetricName |
Subnamespace |
Metric Name | MetricUnit | Dimension |
---|---|---|---|---|
MetricName |
SubNamespace |
Metric Name | MetricUnit | Dimension |
Instance_CpuBusy |
Instance |
Out-of-band CPU utilization | Percent | ResourceID |
Instance_DiskReadBytes |
Instance |
Out-of-band disk read bandwidth | Bytes/Second(IEC) | ResourceID |
Instance_DiskWriteBytes |
Instance |
Out-of-band disk write bandwidth | Bytes/Second(IEC) | ResourceID |
Instance_DiskReadIOPS |
Instance |
Out-of-band disk read IOPS | Count/Second | ResourceID |
Instance_DiskWriteIOPS |
Instance |
Out-of-band disk write IOPS | Count/Second | ResourceID |
Instance_NetTxBits |
Instance |
Out-of-band network outbound rate | Bits/Second(IEC) | ResourceID |
Instance_NetRxBits |
Instance |
Out-of-band network inbound rate | Bits/Second(IEC) | ResourceID |
Instance_NetTxPackets |
Instance |
Out-of-band network packet send rate | Packet/Second | ResourceID |
Instance_NetRxPackets |
Instance |
Out-of-band network packet receive rate | Packet/Second | ResourceID |
CpuTotal |
Instance |
CPU utilization | Percent | ResourceID |
MemoryUsedSpace |
Instance |
Used memory | Bytes(IEC) | ResourceID |
MemoryUsedUtilization |
Instance |
Memory utilization | Percent | ResourceID |
LoadPerCore1m |
Instance |
vCPU load (1-minute average) | None | ResourceID |
LoadPerCore5m |
Instance |
vCPU load (5-minute average) | None | ResourceID |
LoadPerCore15m |
Instance |
vCPU load (15-minute average) | None | ResourceID |
NetworkInPackages |
Instance |
Network inbound packet rate | Packet/Second | ResourceID |
NetworkOutPackages |
Instance |
Network outbound packet rate | Packet/Second | ResourceID |
NetTcpConnection |
Instance |
TOTAL | Count | ResourceID |
NetworkInRate |
Instance |
Network inbound rate | Bits/Second(IEC) | ResourceID |
NetworkOutRate |
Instance |
Network outbound rate | Bits/Second(IEC) | ResourceID |
Objects¶
The collected Volcengine ECS object data structure can be seen in 「Infrastructure-Custom」
[
{
"category": "custom_object",
"fields": {
"CpuOptions": "{\"CoreCount\": 1, \"ThreadsPerCore\": 2}",
"CreatedAt": "2024-03-11T14:01:05+08:00",
"Description": "",
"LocalVolumes": "[]",
...
},
"measurement": "volcengine_ecs",
"tags": {
"Cpus": "1",
"DeploymentSetGroupNumber": "0",
"DeploymentSetId": "",
"ElasticScheduledInstanceType": "NoEsi",
"Hostname": "iv-xx",
"ImageId": "image-xx",
"InstanceChargeType": "PostPaid",
"InstanceId": "i-xx",
"InstanceName": "ECS-0XQq",
"InstanceTypeId": "ecs.s2-c1m2.small",
"KeyPairId": "kp-xx",
"KeyPairName": "xxx-test",
"MemorySize": "2048",
"OsName": "CentOS Stream 9 64位",
"OsType": "Linux",
"ProjectName": "default",
"RegionId": "cn-beijing",
"ScheduledInstanceId": "",
"Status": "RUNNING",
"Uuid": "000c65ee-9e1c-xxx-xxx-xxxx",
"VpcId": "vpc-xxx",
"ZoneId": "cn-beijing-b",
"name": "i-xxx"
}
}
]