Skip to content

Huawei Cloud CBR

The display Metrics of Huawei Cloud CBR (Cloud Backup and Recovery) include bandwidth utilization, latency, packet loss rate, and network throughput, which reflect the performance and quality assurance of CBR in network transmission and bandwidth management.

Configuration

Install Func

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

If deploying Func manually, refer to Manual Deployment of Func

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 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 the cloud account information has been configured before, ignore this step
  4. Click [Test], and after the test is successful, click [Save]. If the test fails, please check whether the relevant configuration information is correct and retest
  5. Click [Cloud Account Management] in the list to see the added cloud account, click the corresponding cloud account to enter the details page
  6. Click the [Integration] button on the cloud account details page, find Huawei Cloud CBR under the Not Installed list, and click the [Install] button, then install it in the pop-up installation interface.

Manual Activation Script

  1. Log in to the Func console, click [Script Market], enter the Guance script market, and search for integration_huaweicloud_cbr

  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. Wait a moment, 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 check the corresponding task record and logs for any exceptions
  2. In Guance, check whether asset information exists in [Infrastructure / Custom]
  3. In Guance, check whether there is corresponding monitoring data in [Metrics]

Metrics

After configuring HUAWEI SYS.CBR, the default Measurement is as follows, more Metrics can be collected through configuration Huawei Cloud Monitoring Metrics Details

Metric ID Metric Name Metric Description Value Range Measurement Object (Dimension) Monitoring Period (Original Metric)
used_vault_size Vault Usage This Metric is used to count the usage capacity of the vault. Unit: GB. >=0 Vault 15min
vault_util Vault Utilization This Metric is used to count the capacity utilization rate of the vault. 0~100% Vault 15min

Object

The collected HUAWEI SYS.CBR object data structure can be seen in [Infrastructure-Custom]

{
  "measurement": "huaweicloud_cbr",
  "tags": {
    "RegionId"    : "cn-north-4",
    "id"          : "aa5f3e93-0cea-404c-xxxx-3eec40142e0d",
    "name"        : "aa5f3e93-0cea-404c-xxxx-3eec40142e0d",
    "project_id"  : "c631f046252d4xxxxxx45f253c62d48585",
    "provider_id" : "0dxxxxxxc5-6707-4851-xxxx-169e36266b66",
    "user_id"     : "6bb90c6e26624ae5b1dxxxxxx2f89e3a64",
    "vault_name"  : "vault-aba3"
  },
  "fields": {
    "auto_bind"   : false,
    "auto_expand" : false,
    "billing"     : "{Operation Information}",
    "bind_rules"  : "{Binding Rules}",
    "resources"   : "{Vault Resources}",
    "created_at"  : "2023-07-24Txx : xx : xx.936999",
    "threshold"   : 80,
    "message"     : "{Instance JSON Data}"
  }
}

Note: The fields in tags, fields may change with subsequent updates

Tip 1: The value of tags.name is the instance ID, used as the unique identifier

Tip 2: fields.message, fields.billing, fields.bind_rules, fields.message, fields.resources are all JSON serialized strings

```

Feedback

Is this page helpful? ×