Skip to content

Tencent Cloud CLB

Collect Tencent Cloud CLB metrics data

Configuration

Install Func

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

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

Install Script

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

To synchronize Tencent Cloud CLB monitoring data, we install the corresponding collection script: "Guance Integration (Tencent Cloud-CLB Collection)" (ID: integration_tencentcloud_clb)

Click 【Install】, then enter the corresponding parameters: Tencent Cloud AK, Tencent Cloud account name.

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

In addition, 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 records 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 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

  • Internal load balancer monitoring metrics tencentcloud_QCE/LB_PRIVATE
Metric Name Metric Chinese Name Metric Description Unit Statistics Granularity
ClientConnum Active connections from client to LB At a certain moment within the statistics 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 statistics 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 statistics 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 statistics 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 statistics granularity, the number of packets sent by the client to the load balancer per second. Packets/sec 10s、60s、300s
ClientOutpkg Outbound packets from client to LB Within the statistics granularity, the number of packets sent by the load balancer to the client per second. Packets/sec 10s、60s、300s
ClientAccIntraffic Inbound traffic from client to LB Within the statistics granularity, the traffic flowing from the client to the load balancer. MB 10s、60s、300s
ClientAccOuttraffic Outbound traffic from client to LB Within the statistics granularity, the traffic flowing from the load balancer to the client. MB 10s、60s、300s
ClientOuttraffic Outbound bandwidth from client to LB Within the statistics granularity, the bandwidth used by the load balancer to the client. Mbps 10s、60s、300s
ClientIntraffic Inbound bandwidth from client to LB Within the statistics granularity, the bandwidth used by the client to the load balancer. Mbps 10s、60s、300s
OutTraffic Outbound bandwidth from LB to backend Within the statistics granularity, the bandwidth used by the backend RS to the load balancer. Mbps 60s、300s
InTraffic Inbound bandwidth from LB to backend Within the statistics granularity, the bandwidth used by the load balancer to the backend RS. Mbps 60s、300s
OutPkg Outbound packets from LB to backend Within the statistics granularity, the number of packets sent by the backend RS to the load balancer per second. Packets/sec 60s、300s
InPkg Inbound packets from LB to backend Within the statistics granularity, the number of packets sent by the load balancer to the backend RS per second. Packets/sec 60s、300s
ConNum Connections from LB to backend Within the statistics granularity, the number of connections from the load balancer to the backend RS. Count 60s、300s
NewConn New connections from LB to backend Within the statistics granularity, the number of new connections from the load balancer to the backend RS. Count/minute 60s、300s
DropTotalConns Dropped connections Within the statistics granularity, the number of connections dropped by the load balancer or listener. This metric is only supported for standard account types, not for traditional account types. For account type judgment, please refer to Judge Account Type. Count 10s、60s、300s
InDropBits Dropped inbound bandwidth Within the statistics granularity, the bandwidth dropped when the client accesses the load balancer through the internal network. This metric is only supported for standard account types, not for traditional account types. For account type judgment, please refer to Judge Account Type. Bytes 10s、60s、300s
OutDropBits Dropped outbound bandwidth Within the statistics granularity, the bandwidth dropped when the load balancer accesses the internal network. This metric is only supported for standard account types, not for traditional account types. For account type judgment, please refer to Judge Account Type. Bytes 10s、60s、300s
InDropPkts Dropped inbound packets Within the statistics granularity, the packets dropped when the client accesses the load balancer through the internal network. This metric is only supported for standard account types, not for traditional account types. For account type judgment, please refer to Judge Account Type. Packets/sec 10s、60s、300s
OutDropPkts Dropped outbound packets Within the statistics granularity, the packets dropped when the load balancer accesses the internal network. This metric is only supported for standard account types, not for traditional account types. For account type judgment, please refer to Judge Account Type. Packets/sec 10s、60s、300s
DropQps Dropped QPS Within the statistics 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 for standard account types, not for traditional account types. For account type judgment, please refer to Judge Account Type. Count 60s、300s
IntrafficVipRatio Inbound bandwidth utilization Within the statistics granularity, the bandwidth utilization when the client accesses the load balancer through the internal network. This metric is only supported for standard account types, not for traditional account types. For account type judgment, please refer to Judge Account Type. This metric is in beta, if you need to use it, please submit a Work Order Application. % 10s、60s、300s
OuttrafficVipRatio Outbound bandwidth utilization Within the statistics granularity, the bandwidth utilization when the load balancer accesses the internal network. This metric is only supported for standard account types, not for traditional account types. For account type judgment, please refer to Judge Account Type. This metric is in beta, if you need to use it, please submit a Work Order Application. 10s、60s、300s
ReqAvg Average request time Within the statistics granularity, the average request time of the load balancer. This metric is unique to layer 7 listeners. Milliseconds 60s、300s
ReqMax Maximum request time Within the statistics granularity, the maximum request time of the load balancer. This metric is unique to layer 7 listeners. Milliseconds 60s、300s
RspAvg Average response time Within the statistics granularity, the average response time of the load balancer. This metric is unique to layer 7 listeners. Milliseconds 60s、300s
RspMax Maximum response time Within the statistics granularity, the maximum response time of the load balancer. This metric is unique to layer 7 listeners. Milliseconds 60s、300s
RspTimeout Response timeout count Within the statistics granularity, the number of response timeouts of the load balancer. This metric is unique to layer 7 listeners. Count/minute 60s、300s
SuccReq Successful requests per minute Within the statistics granularity, the number of successful requests per minute of the load balancer. This metric is unique to layer 7 listeners. Count/minute 60s、300s
TotalReq Requests per second Within the statistics granularity, the number of requests per second of the load balancer. This metric is unique to layer 7 listeners. Count 60s、300s
ClbHttp3xx CLB returned 3xx status codes Within the statistics 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
ClbHttp4xx CLB returned 4xx status codes Within the statistics 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
ClbHttp5xx CLB returned 5xx status codes Within the statistics 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
Http2xx 2xx status codes Within the statistics granularity, the number of 2xx status codes returned by the backend server. This metric is unique to layer 7 listeners. Count/minute 60s、300s
Http3xx 3xx status codes Within the statistics granularity, the number of 3xx status codes returned by the backend server. This metric is unique to layer 7 listeners. Count/minute 60s、300s
Http4xx 4xx status codes Within the statistics granularity, the number of 4xx status codes returned by the backend server. This metric is unique to layer 7 listeners. Count/minute 60s、300s
Http5xx 5xx status codes Within the statistics granularity, the number of 5xx status codes returned by the backend server. This metric is unique to layer 7 listeners. Count/minute 60s、300s
UnhealthRsCount Health check exceptions Within the statistics cycle, the number of health check exceptions of the load balancer. Count 60s、300s
  • Public load balancer monitoring metrics tencentcloud_QCE/LB_PUBLIC
Metric Name Metric Chinese Name Metric Description Unit Statistics Granularity
ClientConnum Active connections from client to LB At a certain moment within the statistics 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 statistics 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 statistics 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 statistics 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 statistics granularity, the number of packets sent by the client to the load balancer per second. Packets/sec 10s、60s、300s
ClientOutpkg Outbound packets from client to LB Within the statistics granularity, the number of packets sent by the load balancer to the client per second. Packets/sec 10s、60s、300s
ClientAccIntraffic Inbound traffic from client to LB Within the statistics granularity, the traffic flowing from the client to the load balancer. MB 10s、60s、300s
ClientAccOuttraffic Outbound traffic from client to LB Within the statistics granularity, the traffic flowing from the load balancer to the client. MB 10s、60s、300s
ClientIntraffic Inbound bandwidth from client to LB Within the statistics granularity, the bandwidth used by the client to the load balancer. Mbps 10s、60s、300s
ClientOuttraffic Outbound bandwidth from client to LB Within the statistics granularity, the bandwidth used by the load balancer to the client. Mbps 10s、60s、300s
InTraffic Inbound bandwidth from LB to backend Within the statistics granularity, the bandwidth used by the load balancer to the backend RS. Mbps 10s、60s、300s、3600
OutTraffic Outbound bandwidth from LB to backend Within the statistics granularity, the bandwidth used by the backend RS to the load balancer. Mbps 10s、60s、300s、3600
InPkg Inbound packets from LB to backend Within the statistics granularity, the number of packets sent by the load balancer to the backend RS per second. Packets/sec 10s、60s、300s、3600
OutPkg Outbound packets from LB to backend Within the statistics granularity, the number of packets sent by the backend RS to the load balancer per second. Packets/sec 10s、60s、300s、3600
ConNum Connections from LB to backend Within the statistics 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 statistics granularity, the number of new connections from the load balancer to the backend RS. Count/minute 60s、300s、3600s
DropTotalConns Dropped connections Within the statistics granularity, the number of connections dropped by the load balancer or listener. This metric is only supported for standard account types, not for traditional account types. For account type judgment, please refer to Judge Account Type. Count 60s、300s、3600s
IntrafficVipRatio Inbound bandwidth utilization Within the statistics granularity, the bandwidth utilization when the client accesses the load balancer through the external network. This metric is only supported for standard account types, not for traditional account types. For account type judgment, please refer to Judge Account Type. % 60s、300s、3600s
OuttrafficVipRatio Outbound bandwidth utilization Within the statistics granularity, the bandwidth utilization when the load balancer accesses the external network. This metric is only supported for standard account types, not for traditional account types. For account type judgment, please refer to Judge Account Type. 60s、300s、3600s
ReqAvg Average request time Within the statistics 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 statistics 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 statistics 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 statistics 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 statistics 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 statistics 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 statistics 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 statistics 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 statistics 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 statistics 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 statistics 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 statistics 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 statistics 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 statistics 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 statistics cycle, the number of health check exceptions of the load balancer. Count 60s、300s
InDropBits Dropped inbound bandwidth Within the statistics 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 for standard account types, not for traditional account types. For account type judgment, please refer toJudge Account Type. Bytes 60s、300s、3600s
OutDropBits Dropped outbound bandwidth Within the statistics 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 for standard account types, not for traditional account types. For account type judgment, please refer toJudge Account Type. Bytes 60s、300s、3600s
InDropPkts Dropped inbound packets Within the statistics 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 for standard account types, not for traditional account types. For account type judgment, please refer toJudge Account Type. Packets/sec 60s、300s、3600s
OutDropPkts Dropped outbound packets Within the statistics 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 for standard account types, not for traditional account types. For account type judgment, please refer toJudge Account Type. Packets/sec 60s、300s、3600s
DropQps Dropped QPS Within the statistics 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 for standard account types, not for traditional account types. For account type judgment, please refer toJudge Account Type. Count 60s、300s

Object

The collected Tencent Cloud CLB Private 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": "Private",
    "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}"
  }
}

Feedback

Is this page helpful? ×