Skip to content

Huawei Cloud GaussDB-Redis

The displayed metrics of Huawei Cloud GaussDB-Redis include read/write throughput, response time, concurrent connections, and data persistence. These metrics reflect the performance and reliability of GaussDB-Redis in handling high-concurrency data storage and caching.

Configuration

Install Func

It is recommended to activate Guance Integration - Extensions - DataFlux Func (Automata): All prerequisites are automatically installed. Please proceed with the script installation.

If you want to deploy 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).

Managed Version Activation Script

  1. Log in to the Guance console.
  2. Click the [Integration] menu and 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]. 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. In the Not Installed list, find Huawei Cloud GaussDB-Redis, and click the [Install] button. The installation interface will pop up for installation.

Manual Activation Script

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

  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 enabling, 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 records and corresponding logs.

Verification

  1. Confirm whether the corresponding task exists in the automatic trigger configuration in "Management / Automatic Trigger Configuration". At the same time, you can view the corresponding task records and logs to check 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 Cloud Cloud Monitoring, the default Measurement is as follows. More metrics can be collected through configuration. Huawei Cloud Cloud Monitoring Metrics Details

Metric Name Description Unit Dimensions
nosql001_cpu_usage CPU utilization % redis_node_id
nosql002_mem_usage Memory utilization % redis_node_id
nosql005_disk_usage Disk utilization % redis_node_id
nosql006_disk_total_size Total disk capacity GB redis_node_id
nosql007_disk_used_size Disk usage GB redis_node_id
redis017_proxy_accept Total clients accepted by proxy count redis_node_id
redis018_proxy_request_ps Request rate received by proxy counts/s redis_node_id
redis019_proxy_response_ps Request response rate by proxy count/s redis_node_id
redis020_proxy_recv_client_bps Byte stream rate received by proxy from clients bytes/s redis_node_id
redis021_proxy_send_client_bps Byte stream rate sent by proxy to clients bytes/s redis_node_id
redis032_shard_qps QPS of shard count redis_node_id
Invocationredis064_get_avg_usecs Average latency of proxy executing "get" command μs redis_node_id
redis065_get_max_usec Maximum latency of proxy executing "get" command μs redis_node_id
redis066_get_p99 P99 latency of proxy executing "get" command μs redis_node_id
redis067_get_qps Rate of proxy executing "get" command count/s redis_node_id
redis316_all_avg_usec Average latency of proxy executing all commands μs redis_node_id
redis317_all_max_usec Maximum latency of proxy executing all commands μs redis_node_id
redis318_all_p99 P99 latency of proxy executing all commands μs redis_node_id
redis319_all_qps Rate of proxy executing all commands count/s redis_node_id
redis669_connection_usage Connection usage rate % redis_node_id
redis670_hit_rate Hit rate % redis_node_id

Objects

The collected Huawei Cloud GaussDB-Redis object data structure can be seen in "Infrastructure - Custom".

{
  "measurement": "huaweicloud_gaussdb",
  "tags": {
    "RegionId"                : "cn-north-4",
    "db_user_name"            : "root",
    "name"                    : "2e10f990e139xxxxxx5fac6b59de7eein07",
    "port"                    : "3306",
    "project_id"              : "c631f046252d4xxxxxxx5f253c62d48585",
    "status"                  : "BUILD",
    "type"                    : "Cluster",
    "instance_id"             : "1236a915462940xxxxxx879882200in02",
    "instance_name"           : "xxxxx-efa7"
  },
  "fields": {
    "charge_info"          : "{Billing type information, supports on-demand and subscription}",
    "flavor_info"          : "{Specification information}",
    "volume"               : "{Volume information}",
    "create_time"          : "2023-08-01T14:17:40+0800",
    "update_time"          : "2023-08-01T14:17:42+0800",
    "public_ips"           : "[\"192.168.0.223\"]",
    "nodes"                : "[]",
    "message"              : "{Instance JSON data}",
    "time_zone"            : "UTC+08:00"
  }
}

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: The following fields are JSON serialized strings.

  • fields.message
  • fields.backup_strategy
  • fields.datastore
  • fields.groups
  • fields.actions

```

Feedback

Is this page helpful? ×