Collector 'Alibaba Cloud-ALB' Configuration Manual¶
Before reading this document, please read:
Tip
Before using this collector, you must install the 'Integration Core Package' and its accompanying third-party dependencies.
1. Configuration Structure¶
The configuration structure of this collector is as follows:
Field | Type | Required | Description |
---|---|---|---|
regions |
list | Required | List of ALB regions to be collected |
regions[#] |
str | Required | Region ID. For example: 'cn-hangzhou' Refer to the appendix for the complete list |
2. Configuration Example¶
3. Data Reporting Format¶
After data is successfully synchronized, you can view the data in the 'Infrastructure-Resource Catalog' of TrueWatch.
An example of the reported data is as follows:
{
"measurement": "aliyun_alb",
"tags": {
"name" : "alb-xxxxxx",
"AddressType" : "Intranet",
"DNSName" : "alb-xxxxxx.internal.cn-hangzhou.alb.aliyuncs.com",
"LoadBalancerBussinessStatus": "Normal",
"LoadBalancerEdition" : "Standard",
"LoadBalancerId" : "alb-xxxxxx",
"LoadBalancerName" : "dataway-xxx",
"LoadBalancerStatus" : "Active",
"PayType" : "PostPay",
"VpcId" : "vpc-xxxxxx"
},
"fields": {
"CreateTime": "2021-07-27T09:15:07Z",
"message" : "{Instance JSON Data}",
},
}
Partial field descriptions are as follows. For more details, refer to the appendix for the interface return parameters.
Field | Type | Description |
---|---|---|
AddressType |
String | Load balancer address type Fixed:Fixed IP mode Dynamic:Dynamic IP mode |
PayType |
String | Billing type PostPay:Pay-as-you-go |
LoadBalancerEdition |
String | Load balancer edition Basic:Basic edition Standard:Standard edition StandardWithWaf:WAF enhanced edition |
LoadBalancerStatus |
String | Load balancer instance status Inactive:Stopped Active:Running Provisioning:Creating Configuring:Modifying CreateFailed:Creation failed |
Note
Fields in tags and fields may change with subsequent updates.
Tip
The value of tags.name is the instance ID, which serves as a unique identifier. fields.message is a JSON serialized string.
X. Appendix¶
Please refer to the official Alibaba Cloud documentation: