Skip to content

Huawei Cloud SFS Turbo

Collect Huawei Cloud SFS Turbo monitoring metrics

Configuration

Install Func

It is recommended to activate the TrueWatch integration - extensions - hosted Func: all prerequisites are automatically installed, please proceed with the script installation

If you are deploying Func yourself, refer to Self-deploying Func

Install Script

Note: Please prepare the Huawei Cloud AK with the required permissions in advance (for simplicity, you can directly grant the global read-only permission ReadOnlyAccess)

  1. Log in to the Func console, click on 【Script Market】, enter the TrueWatch script market, and search for integration_huaweicloud_sfs_turbo

  2. Click 【Install】, then enter the corresponding parameters: Huawei Cloud AK, SK, and account name

  3. Click 【Deploy Startup Script】, the system will automatically create the Startup script set and configure the corresponding startup scripts

  4. 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. Wait a moment, then you can view the execution task records and corresponding logs

Verification

  1. In 「Manage / Automatic Trigger Configuration」, confirm whether the corresponding task has the automatic trigger configuration, and check the corresponding task records and logs for any exceptions
  2. In TrueWatch, check if asset information exists in 「Infrastructure - Resource Catalog」
  3. In TrueWatch, check if there are corresponding monitoring data in 「Metrics」

Metrics

Collect Huawei Cloud SFS Turbo metrics, more metrics can be collected through configuration Huawei Cloud SFS Turbo Metrics Details

Note: SFS Turbo file systems using the SMB protocol do not support monitoring.

Huawei Cloud SFS Turbo metrics are under the huaweicloud_SYS.EFS Measurement, below are the related metric descriptions

Metric ID Metric Name Metric Meaning Value Range Unit Measurement Object (Dimension) Monitoring Period (Original 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 proportion 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 number of used inodes in the file system. ≥1 Count Elastic File Service Turbo 1 minute
used_inode_percent Inode Usage Rate This metric is used to count the proportion of used inodes to total inodes in the file system. 0-100 % Elastic File Service Turbo 1 minute

Object

After data is synchronized normally, you can view the data in TrueWatch'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 and fields may change with subsequent updates