Skip to content

Tencent Cloud Memcached

Use the "Cloud Sync" series of script packages in the script market to synchronize cloud monitoring and cloud asset data to Guance

Configuration

Install Func

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

If you need to deploy Func manually, refer to Manual Func Deployment

Install Script

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

To sync monitoring data for Memcached cloud resources, we install the corresponding collection script: "Guance Integration (Tencent Cloud-Memcached Collection)" (ID: integration_tencentcloud_memcached).

Click [Install], then enter the corresponding parameters: Tencent Cloud AK, Tencent Cloud account name.

Click [Deploy Startup Script], and 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 it once without waiting for the scheduled time. Wait a moment, and 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 task records and logs for any exceptions.
  2. In Guance, check if the asset information exists in "Infrastructure / Custom".
  3. In Guance, check if there is corresponding monitoring data in "Metrics".

Metrics

After configuring Tencent Cloud Cloud Monitoring, the default measurement sets are as follows. More metrics can be collected through configuration. Tencent Cloud Cloud Monitoring Metrics Details

Metric Name Description Unit Dimensions
allocsize Allocated Capacity Space MBytes InstanceName (Instance Name)
usedsize Used Capacity Space MBytes InstanceName (Instance Name)
get GET Commands Executed Per Second Count/s InstanceName (Instance Name)
set SET Commands Executed Per Second Count/s InstanceName (Instance Name)
delete DELETE Commands Executed Per Second Count/s InstanceName (Instance Name)
error Error Commands Count/s InstanceName (Instance Name)
latency Average Access Latency ms InstanceName (Instance Name)
qps Total Requests Per Second Count/s InstanceName (Instance Name)

Objects

The collected Tencent Cloud Memcached object data structure can be viewed in "Infrastructure - Custom".

{
  "measurement": "tencentcloud_memcached",
  "tags": {
    "account_name": "Tencent",
    "class": "tencentcloud_memcached",
    "cloud_provider": "tencentcloud",
    "InstanceId": "cmem-xxxxx",
    "InstanceName": "0829-mh-xxxxx",
    "name": "cmem-xxxxxxx",
    "RegionId": "ap-shanghai"
  }
}

Note: Fields in tags may change with subsequent updates.

Feedback

Is this page helpful? ×