Skip to content

Tencent Cloud CLB Public

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

Configuration

Install Func

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

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

Install Script

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

To synchronize monitoring data for CLB_Public cloud resources, we install the corresponding collection script: "TrueWatch Integration (Tencent Cloud CLB Collection)" (ID: integration_tencentcloud_clb)

After clicking 【Install】, enter the corresponding parameters: Tencent Cloud AK, Tencent Cloud account name.

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

In addition, you can see the corresponding automatic trigger configuration in "Management / Automatic Trigger Configuration". Click 【Execute】 to immediately execute once without waiting for the scheduled time. After a while, you can check the execution task records 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 records and logs to see if there are any exceptions.
  2. In TrueWatch, check if asset information exists in "Infrastructure / Custom".
  3. In TrueWatch, 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 Metric Details

Metric Name Metric Chinese Name Metric Description Unit Statistical Granularity
ClientConnum Active connections from client to LB At a certain moment within the statistical granularity, the number of active connections from the client to the load balancer or listener. count 10s、60s、300s
ClientInactiveConn Inactive connections from client to LB At a certain moment within the statistical granularity, the number of inactive connections from the client to the load balancer or listener. count 10s、60s、300s
ClientConcurConn Concurrent connections from client to LB At a certain moment within the statistical granularity, the number of concurrent connections from the client to the load balancer or listener. count 10s、60s、300s
ClientNewConn New connections from client to LB Within the statistical granularity, the number of new connections from the client to the load balancer or listener. count/sec 10s、60s、300s
ClientInpkg Inbound packets from client to LB Within the statistical granularity, the number of data packets sent by the client to the load balancer per second. count/sec 10s、60s、300s
ClientOutpkg Outbound packets from client to LB Within the statistical granularity, the number of data packets sent by the load balancer to the client per second. count/sec 10s、60s、300s
ClientAccIntraffic Inbound traffic from client to LB Within the statistical granularity, the traffic flowing from the client to the load balancer. MB 10s、60s、300s
ClientAccOuttraffic Outbound traffic from client to LB Within the statistical granularity, the traffic flowing from the load balancer to the client. MB 10s、60s、300s
ClientIntraffic Inbound bandwidth from client to LB Within the statistical granularity, the bandwidth used by the client to flow into the load balancer. Mbps 10s、60s、300s
ClientOuttraffic Outbound bandwidth from client to LB Within the statistical granularity, the bandwidth used by the load balancer to flow out to the client. Mbps 10s、60s、300s
InTraffic Inbound bandwidth from LB to backend Within the statistical granularity, the bandwidth used by the load balancer to flow into the backend RS. Mbps 10s、60s、300s、3600
OutTraffic Outbound bandwidth from LB to backend Within the statistical granularity, the bandwidth used by the backend RS to flow out to the load balancer. Mbps 10s、60s、300s、3600
InPkg Inbound packets from LB to backend Within the statistical granularity, the number of data packets sent by the load balancer to the backend RS per second. count/sec 10s、60s、300s、3600
OutPkg Outbound packets from LB to backend Within the statistical granularity, the number of data packets sent by the backend RS to the load balancer per second. count/sec 10s、60s、300s、3600
ConNum Connections from LB to backend Within the statistical granularity, the number of connections from the load balancer to the backend RS. count 60s、300s、3600s
NewConn New connections from LB to backend Within the statistical granularity, the number of new connections from the load balancer to the backend RS. count/minute 60s、300s、3600s
DropTotalConns Dropped connections Within the statistical granularity, the number of connections dropped by the load balancer or listener. This metric is only supported by standard account types, not by traditional account types. For account type judgment, please refer to Judging Account Type. count 60s、300s、3600s
IntrafficVipRatio Inbound bandwidth utilization Within the statistical granularity, the bandwidth utilization used by the client to access the load balancer through the external network. This metric is only supported by standard account types, not by traditional account types. For account type judgment, please refer to Judging Account Type. % 60s、300s、3600s
OuttrafficVipRatio Outbound bandwidth utilization Within the statistical granularity, the bandwidth utilization used by the load balancer to access the external network. This metric is only supported by standard account types, not by traditional account types. For account type judgment, please refer to Judging Account Type. 60s、300s、3600s
ReqAvg Average request time Within the statistical granularity, the average request time of the load balancer. This metric is unique to layer 7 listeners. milliseconds 60s、300s、3600s
ReqMax Maximum request time Within the statistical granularity, the maximum request time of the load balancer. This metric is unique to layer 7 listeners. milliseconds 60s、300s、3600s
RspAvg Average response time Within the statistical granularity, the average response time of the load balancer. This metric is unique to layer 7 listeners. milliseconds 60s、300s、3600s
RspMax Maximum response time Within the statistical granularity, the maximum response time of the load balancer. This metric is unique to layer 7 listeners. milliseconds 60s、300s、3600s
RspTimeout Response timeout count Within the statistical granularity, the number of response timeouts of the load balancer. This metric is unique to layer 7 listeners. count/minute 60s、300s、3600s
SuccReq Successful requests per minute Within the statistical granularity, the number of successful requests per minute of the load balancer. This metric is unique to layer 7 listeners. count/minute 60s、300s、3600s
TotalReq Requests per second Within the statistical granularity, the number of requests per second of the load balancer. This metric is unique to layer 7 listeners. count 60s、300s、3600s
ClbHttp3xx CLB returned 3xx status codes Within the statistical granularity, the number of 3xx status codes returned by the load balancer (the sum of the load balancer and backend server return codes). This metric is unique to layer 7 listeners. count/minute 60s、300s、3600s
ClbHttp4xx CLB returned 4xx status codes Within the statistical granularity, the number of 4xx status codes returned by the load balancer (the sum of the load balancer and backend server return codes). This metric is unique to layer 7 listeners. count/minute 60s、300s、3600s
ClbHttp5xx CLB returned 5xx status codes Within the statistical granularity, the number of 5xx status codes returned by the load balancer (the sum of the load balancer and backend server return codes). This metric is unique to layer 7 listeners. count/minute 60s、300s、3600s
Http2xx 2xx status codes Within the statistical granularity, the number of 2xx status codes returned by the backend server. This metric is unique to layer 7 listeners. count/minute 60s、300s、3600s
Http3xx 3xx status codes Within the statistical granularity, the number of 3xx status codes returned by the backend server. This metric is unique to layer 7 listeners. count/minute 60s、300s、3600s
Http4xx 4xx status codes Within the statistical granularity, the number of 4xx status codes returned by the backend server. This metric is unique to layer 7 listeners. count/minute 60s、300s、3600s
Http5xx 5xx status codes Within the statistical granularity, the number of 5xx status codes returned by the backend server. This metric is unique to layer 7 listeners. count/minute 60s、300s、3600s
UnhealthRsCount Health check exceptions Within the statistical cycle, the number of health check exceptions of the load balancer. count 60s、300s
InDropBits Dropped inbound bandwidth Within the statistical granularity, the number of requests dropped by the load balancer or listener. This metric is unique to layer 7 listeners. This metric is only supported by standard account types, not by traditional account types. For account type judgment, please refer to Judging Account Type. bytes 60s、300s、3600s
OutDropBits Dropped outbound bandwidth Within the statistical granularity, the number of requests dropped by the load balancer or listener. This metric is unique to layer 7 listeners. This metric is only supported by standard account types, not by traditional account types. For account type judgment, please refer to Judging Account Type. bytes 60s、300s、3600s
InDropPkts Dropped inbound packets Within the statistical granularity, the number of requests dropped by the load balancer or listener. This metric is unique to layer 7 listeners. This metric is only supported by standard account types, not by traditional account types. For account type judgment, please refer to Judging Account Type. count/sec 60s、300s、3600s
OutDropPkts Dropped outbound packets Within the statistical granularity, the number of requests dropped by the load balancer or listener. This metric is unique to layer 7 listeners. This metric is only supported by standard account types, not by traditional account types. For account type judgment, please refer to Judging Account Type. count/sec 60s、300s、3600s
DropQps Dropped QPS Within the statistical granularity, the number of requests dropped by the load balancer or listener. This metric is unique to layer 7 listeners. This metric is only supported by standard account types, not by traditional account types. For account type judgment, please refer to Judging Account Type. count 60s、300s

Object

The collected Tencent Cloud CLB Public object data structure can be seen in "Infrastructure - Custom"

{
  "measurement": "tencentcloud_clb",
  "tags": {
    "name"            : "lb-xxxx",
    "RegionId"        : "ap-shanghai",
    "LoadBalancerId"  : "lb-xxxx",
    "LoadBalancerName": "lb-xxxx",
    "Address"         : "81.xxxx",
    "LoadBalancerType": "Public",
    "Status"          : "1",
    "VpcId"           : "vpc-xxxx",
    "Zone"            : "ap-shanghai-3",
    "ChargeType"      : "POSTPAID_BY_HOUR"
  },
  "fields": {
    "CreateTime": "2022-04-27 15:19:49",
    "listeners" : "{listener JSON data}",
    "message"   : "{instance JSON data}"
  }
}