Huawei Cloud SFS Turbo
Collect monitoring metrics for Huawei Cloud SFS Turbo
Configuration¶
Install Func¶
It is recommended to activate Guance Integration - Extensions - DataFlux Func (Automata): All prerequisites are automatically installed. Please proceed with script installation.
If deploying Func manually, refer to Manual Func Deployment
Install Script¶
Note: Please prepare the required Huawei 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 official script market, and search for
guance_huaweicloud_sfs_turbo
-
Click 【Install】, then enter the corresponding parameters: Huawei Cloud AK, SK, and 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 once without waiting for the scheduled time. Wait a moment, and you can view the execution task records and corresponding logs
Verification¶
- In 「Manage / Automatic Trigger Configuration」, confirm whether the corresponding task has the automatic trigger configuration, and check the task records and logs for any exceptions
- In Guance, check if asset information exists in 「Infrastructure - Resource Catalog」
- In Guance, check if there are corresponding monitoring data in 「Metrics」
Metrics¶
Collect Huawei Cloud SFS Turbo metrics, and more metrics can be collected through configuration Huawei Cloud SFS Turbo Metric Details
Note: SMB protocol SFS Turbo file systems do not support monitoring features.
Huawei Cloud SFS Turbo metrics are under the huaweicloud_SYS.EFS
Measurement. Below are the SFS Turbo related metric descriptions
Metric ID | Metric Name | Metric Meaning | Value Range | Unit | Measurement Object (Dimension) | Monitoring Period (Raw Metric) |
---|---|---|---|---|---|---|
client_connections |
Client Connections | This metric is used to count the number of client connections. | ≥0 | Count | Elastic File Service Turbo | 1 minute |
data_read_io_bytes |
Read Bandwidth | This metric is used to measure read I/O load. | ≥0 | bytes/s | Elastic File Service Turbo | 1 minute |
data_write_io_bytes |
Write Bandwidth | This metric is used to measure write I/O load. | ≥0 | bytes/s | Elastic File Service Turbo | 1 minute |
metadata_io_bytes |
Metadata Read/Write Bandwidth | This metric is used to measure metadata read/write I/O load. | ≥0 | bytes/s | Elastic File Service Turbo | 1 minute |
total_io_bytes |
Total Bandwidth | This metric is used to measure total I/O load. | ≥0 | bytes/s | Elastic File Service Turbo | 1 minute |
used_capacity |
Used Capacity | This metric is used to count the used capacity of the file system. | ≥0 | byte | Elastic File Service Turbo | 1 minute |
used_capacity_percent |
Capacity Usage Rate | This metric is used to count the percentage of used capacity to total capacity of the file system. | 0-100 | % | Elastic File Service Turbo | 1 minute |
used_inode |
Used Inode Count | This metric is used to count the used inode count of the file system. | ≥1 | Count | Elastic File Service Turbo | 1 minute |
used_inode_percent |
Inode Usage Rate | This metric is used to count the percentage of used inode count to total inode count of the file system. | 0-100 | % | Elastic File Service Turbo | 1 minute |
Objects¶
After data synchronization is normal, you can view the data in Guance's 「Infrastructure - Resource Catalog」.
{
"measurement": "huaweicloud_sfs_turbo",
"tags": {
"RegionId" : "cn-south-4",
"project_id" : "756ada1aa17e4049b2a16ea41912e52d",
"enterprise_project_id" : "0824ss-xxxx-xxxx-xxxx-12334fedffg",
"instance_id" : "xxxxxx",
"instance_name" : "test"
},
"fields": {
"status" : "AVAILABLE",
"version" : "8.0.x",
"availability_zone" : "cn-south-4a",
"az_name" : "d-xxx-xxx",
"share_proto" : "xxxxxxxxx",
"share_type" : "xxxxxxxxx",
"created_at" : "2024-11-11T08:15:58Z",
"action_progress" : "xxxxx",
"avail_capacity" : "300GB",
"pay_model" : "xxx",
"size" : "xxx",
}
}
Note: The fields in
tags
,fields
may change with subsequent updates