Skip to content

Huawei Cloud SFS Turbo

Collect Huawei Cloud SFS Turbo monitoring metrics

Configuration

Install Func

It is recommended to activate the Guance integration - extensions - DataFlux Func (Automata): all prerequisites are automatically installed, please proceed with the script installation.

If you deploy Func by yourself, refer to Deploy Func by yourself

Install Script

Note: Please prepare the Huawei Cloud AK that meets the requirements in advance (for simplicity, you can directly grant the global read-only permission Tenant Guest)

Activate Script for DataFlux Func (Automata)

  1. Log in to the Guance console
  2. Click the [Integration] menu, select [Cloud Account Management]
  3. Click [Add Cloud Account], select [Huawei Cloud], and fill in the required information on the interface. If you have already configured the cloud account information before, ignore this step
  4. Click [Test], and if the test is successful, click [Save]. If the test fails, please check if the relevant configuration information is correct and retest
  5. Click [Cloud Account Management] and you can see the added cloud account in the list. Click the corresponding cloud account to enter the details page
  6. Click the [Integration] button on the cloud account details page, find Huawei Cloud SFS Turbo under the Not Installed list, and click the [Install] button. The installation interface will pop up and you can install it.

Activate Script Manually

  1. Log in to the Func console, click [Script Market], enter the Guance 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 automatically configure the corresponding startup script

  4. After activation, you can see the corresponding automatic trigger configuration in "Management / Automatic Trigger Configuration". Click [Execute] to execute it immediately without waiting for the scheduled time. After a while, you can view the execution task record and corresponding logs

Verification

  1. In "Management / Automatic Trigger Configuration", confirm whether the corresponding task has the corresponding automatic trigger configuration, and you can also check the corresponding task record and logs to see if there are any exceptions
  2. In Guance, check if there is asset information in "Infrastructure - Resource Catalog"
  3. In Guance, check if there is corresponding monitoring data in "Metrics"

Metrics

Collect Huawei Cloud SFS Turbo metrics. You can collect more metrics by configuration Huawei Cloud SFS Turbo Metrics Details

Note: SFS Turbo file systems with SMB protocol do not support monitoring function.

Huawei Cloud SFS Turbo metrics are under the huaweicloud_SYS.EFS measurement. The following are the descriptions of SFS Turbo related metrics

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 ratio of the used capacity to the 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 ratio of the used inode count to the total inode count of the file system. 0-100 % Elastic File Service Turbo 1 minute

Object

After the data is synchronized normally, 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 and fields may change with subsequent updates ```

Feedback

Is this page helpful? ×