Volcengine ALB
Collect Volcengine ALB Metrics data
Configuration¶
Install Func¶
It is recommended to enable TrueWatch Integration - Extensions - DataFlux Func (Automata): All prerequisites are automatically installed, please continue with script installation
If you deploy Func yourself, refer to Self-deploy Func
Install Script¶
Note: Please prepare the Volcengine AK that meets the requirements in advance (for simplicity, you can directly grant the global read-only permission
ReadOnlyAccess
)
To synchronize the monitoring data of ALB cloud resources, we install the corresponding collection script: "TrueWatch Integration (Volcengine-ALB Collection)" (ID: integration_volcengine_alb
)
After clicking 【Install】, enter the corresponding parameters: Volcengine AK, Volcengine Account Name, Regions.
Click 【Deploy Startup Script】, the system will automatically create the Startup
script set and automatically configure the corresponding startup script.
After enabling, you can see the corresponding automatic trigger configuration in 「Manage / 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¶
- In 「Manage / Automatic Trigger Configuration」, confirm whether the corresponding task has the corresponding automatic trigger configuration, and you can also view the corresponding task records and logs to check for any exceptions
- In TrueWatch, 「Infrastructure - Resource Catalog」, check if there is asset information
- In TrueWatch, 「Metrics」, check if there is corresponding monitoring data
Metrics¶
Configure Volcengine ALB monitoring metrics, you can collect more metrics by configuration Volcengine ALB Metrics Details
MetricName |
Subnamespace |
Metric Name | MetricUnit | Dimension |
---|---|---|---|---|
listener_max_conn |
listener |
Concurrent Connections | Count | ResourceID,ListenerID |
listener_new_conn |
listener |
New Connections | Count/Second | ResourceID,ListenerID |
listener_active_conn |
listener |
Active Connections | Count | ResourceID,ListenerID |
listener_inactive_conn |
listener |
Concurrent Connections | Count | ResourceID,ListenerID |
listener_lost_conn |
listener |
Lost Connections | Count/Second | ResourceID,ListenerID |
listener_in_packets |
listener |
Inbound Packets | Packet/Second | ResourceID,ListenerID |
listener_out_packets |
listener |
Outbound Packets | Packet/Second | ResourceID,ListenerID |
listener_in_drop_packets |
listener |
Inbound Dropped Packets | Packet/Second | ResourceID,ListenerID |
listener_out_drop_packets |
listener |
Outbound Dropped Packets | Packet/Second | ResourceID,ListenerID |
listener_in_bytes |
listener |
Inbound Bandwidth | Bits/Second(SI) | ResourceID,ListenerID |
listener_out_bytes |
listener |
Outbound Bandwidth | Bits/Second(SI) | ResourceID,ListenerID |
listener_in_drop_bytes |
listener |
Inbound Dropped Bandwidth | Bits/Second(SI) | ResourceID,ListenerID |
listener_out_drop_bytes |
listener |
Outbound Dropped Bandwidth | Bits/Second(SI) | ResourceID,ListenerID |
listener_healthy_rs_count |
listener |
Healthy Backend Servers | Count | ResourceID,ListenerID |
listener_unhealthy_rs_count |
listener |
Unhealthy Backend Servers | Count | ResourceID,ListenerID |
listener_http_2xx_send_count |
listener |
Sent 2xx Status Codes | Count/Second | ResourceID,ListenerID |
listener_http_3xx_send_count |
listener |
Sent 3xx Status Codes | Count/Second | ResourceID,ListenerID |
listener_http_4xx_send_count |
listener |
Sent 4xx Status Codes | Count/Second | ResourceID,ListenerID |
listener_http_5xx_send_count |
listener |
Sent 5xx Status Codes | Count/Second | ResourceID,ListenerID |
listener_http_other_send_count |
listener |
Sent Other Status Codes | Count/Second | ResourceID,ListenerID |
listener_http_404_send_count |
listener |
Sent 404 Status Codes | Count/Second | ResourceID,ListenerID |
listener_http_502_send_count |
listener |
Sent 502 Status Codes | Count/Second | ResourceID,ListenerID |
listener_http_2xx_recv_count |
listener |
Received 2xx Status Codes | Count/Second | ResourceID,ListenerID |
listener_http_3xx_recv_count |
listener |
Received 3xx Status Codes | Count/Second | ResourceID,ListenerID |
listener_http_4xx_recv_count |
listener |
Received 4xx Status Codes | Count/Second | ResourceID,ListenerID |
listener_http_5xx_recv_count |
listener |
Received 5xx Status Codes | Count/Second | ResourceID,ListenerID |
listener_http_other_recv_count |
listener |
Received Other Status Codes | Count/Second | ResourceID,ListenerID |
listener_http_404_recv_count |
listener |
Received 404 Status Codes | Count/Second | ResourceID,ListenerID |
listener_http_502_recv_count |
listener |
Received 502 Status Codes | Count/Second | ResourceID,ListenerID |
listener_qps |
listener |
QPS | Count/Second | ResourceID,ListenerID |
listener_response_time |
listener |
Average Response Time | Millisecond | ResourceID,ListenerID |
listener_ups_response_time |
listener |
Average Request Time | Millisecond | ResourceID,ListenerID |
listener_http_500_send_count |
listener |
Sent 500 Status Codes | Count/Second | ResourceID |
listener_http_503_send_count |
listener |
Sent 503 Status Codes | Count/Second | ResourceID |
listener_http_504_send_count |
listener |
Sent 504 Status Codes | Count/Second | ResourceID |
load_balancer_max_conn |
loadbalancer |
Concurrent Connections | Count | ResourceID |
load_balancer_new_conn |
loadbalancer |
New Connections | Count | ResourceID |
load_balancer_active_conn |
loadbalancer |
Active Connections | Count | ResourceID |
load_balancer_inactive_conn |
loadbalancer |
Inactive Connections | Count | ResourceID |
load_balancer_lost_conn |
loadbalancer |
Lost Connections | Count/Second | ResourceID |
load_balancer_in_packets |
loadbalancer |
Inbound Packets | Packet/Second | ResourceID |
load_balancer_out_packets |
loadbalancer |
Outbound Packets | Packet/Second | ResourceID |
load_balancer_in_drop_packets |
loadbalancer |
Inbound Dropped Packets | Packet/Second | ResourceID |
load_balancer_out_drop_packets |
loadbalancer |
Outbound Dropped Packets | Packet/Second | ResourceID |
load_balancer_in_bytes |
loadbalancer |
Inbound Bandwidth | Bits/Second(SI) | ResourceID |
load_balancer_out_bytes |
loadbalancer |
Outbound Bandwidth | Bits/Second(SI) | ResourceID |
load_balancer_in_drop_bytes |
loadbalancer |
Inbound Dropped Bandwidth | Bits/Second(SI) | ResourceID |
load_balancer_out_drop_bytes |
loadbalancer |
Outbound Dropped Bandwidth | Bits/Second(SI) | ResourceID |
load_balancer_http_2xx_send_count |
loadbalancer |
Sent 2xx Status Codes | Count/Second | ResourceID |
load_balancer_http_3xx_send_count |
loadbalancer |
Sent 3xx Status Codes | Count/Second | ResourceID |
load_balancer_http_4xx_send_count |
loadbalancer |
Sent 4xx Status Codes | Count/Second | ResourceID |
load_balancer_http_5xx_send_count |
loadbalancer |
Sent 5xx Status Codes | Count/Second | ResourceID |
load_balancer_http_other_send_count |
loadbalancer |
Sent Other Status Codes | Count/Second | ResourceID |
load_balancer_http_404_send_count |
loadbalancer |
Sent 404 Status Codes | Count/Second | ResourceID |
load_balancer_http_502_send_count |
loadbalancer |
Sent 502 Status Codes | Count/Second | ResourceID |
load_balancer_http_2xx_recv_count |
loadbalancer |
Received 2xx Status Codes | Count/Second | ResourceID |
load_balancer_http_3xx_recv_count |
loadbalancer |
Received 3xx Status Codes | Count/Second | ResourceID |
load_balancer_http_4xx_recv_count |
loadbalancer |
Received 4xx Status Codes | Count/Second | ResourceID |
load_balancer_http_5xx_recv_count |
loadbalancer |
Received 5xx Status Codes | Count/Second | ResourceID |
load_balancer_http_other_recv_count |
loadbalancer |
Received Other Status Codes | Count/Second | ResourceID |
load_balancer_http_404_recv_count |
loadbalancer |
Received 404 Status Codes | Count/Second | ResourceID |
load_balancer_http_502_recv_count |
loadbalancer |
Received 502 Status Codes | Count/Second | ResourceID |
load_balancer_qps |
loadbalancer |
QPS | Count/Second | ResourceID |
load_balancer_qps_utilization |
loadbalancer |
QPS Utilization | Count/Second | ResourceID |
load_balancer_response_time |
loadbalancer |
Average Response Time | Millisecond | ResourceID |
load_balancer_ups_response_time |
loadbalancer |
Average Request Time | Millisecond | ResourceID |
load_balancer_http_500_send_count |
loadbalancer |
Sent 500 Status Codes | Count/Second | ResourceID |
load_balancer_http_503_send_count |
loadbalancer |
Sent 503 Status Codes | Count/Second | ResourceID |
load_balancer_http_504_send_count |
loadbalancer |
Sent 504 Status Codes | Count/Second | ResourceID |
Object¶
The collected Volcengine ALB object data structure can be seen in 「Infrastructure - Resource Catalog」
{
"measurement": "volcengine_alb",
"tags": {
"RegionId" : "cn-guangzhou",
"ProjectName" : "default",
"AccountId" : "2102598xxxx",
"LoadBalancerId" : "LoadBalancerId:alb-3rfdnib02lzpc16nf3olxxxx",
"LoadBalancerName": "ALB",
"Type" : "public",
"Status" : "Active"
},
"fileds": {
"Listeners": "[{JSON data}]",
"VpcId": "vpc-11vrlrg75588w40yrhbxxxx",
"EniAddress": "172.31.0.xx",
"EipAddress": "118.145.xxx.170",
"LoadBalancerBillingType": "2",
"Description": "xxxxxx",
"CreateTime": "2024-12-12T02:43:11Z",
"UpdateTime": "2024-12-12T06:33:36Z",
"ExpiredTime": "xxxxxxxx",
"Tags": "[]"
}
}