Configuration Manual for the "Alibaba Cloud-RabbitMQ" Collector
Before reading this article, please first read:
Before using this collector, you must install the 'Integration Core Package' and its associated third-party dependency packages
1. Configuration Structure
The configuration structure of this collector is as follows:
Field | Type | Required | Description |
---|---|---|---|
regions |
list | Required | List of regions to collect data from |
regions[#] |
str | Required | Region ID. Example: 'cn-hangzhou' See the full list in the appendix |
2. Configuration Examples
Specifying Regions
Collecting data from Hangzhou region
Python | |
---|---|
1 2 3 |
|
Configuring Filters (Optional)
This collector script supports user-defined filters that allow users to filter target resources based on object attributes. The filter function returns True or False. - True: The target resource should be collected. - False: The target resource should not be collected.
Supported object attribute filters:
Attribute | Description |
---|---|
Status | Instance status |
SupportEIP | Whether EIP is supported |
PrivateEndpoint | Instance's VPC access point |
StorageSize | Disk capacity, unit: GB |
InstanceId | Instance ID |
InstanceType | Instance type |
PublicEndpoint | Instance's public network access point |
MaxVhost | Upper limit of Vhost count for the instance |
AutoRenewInstance | Whether the instance auto-renews |
InstanceName | Instance name |
MaxQueue | Upper limit of Queue count for the instance |
OrderType | Order type |
Python | |
---|---|
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 |
|
3. Data Reporting Format
After data synchronizes successfully, it can be viewed under the "Infrastructure - Resource Catalog" section of {{( brand_name }}}.
Example of reported data:
JSON | |
---|---|
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 |
|
Descriptions of some parameters are as follows:
tags.Status (Instance status) values and meanings:
Value | Description |
---|---|
DEPLOYING |
Instance deploying |
EXPIRED |
Instance expired |
SERVING |
Instance serving |
RELEASED |
Instance released |
tags.OrderType (Order type) values and meanings:
Value | Description |
---|---|
PRE_PAID |
Prepaid |
POST_PAID |
Postpaid |
Fields in tags and fields may change with subsequent updates
The value of tags.DBClusterId is the instance ID, used as a unique identifier
X. Appendix
Please refer to the official Alibaba Cloud documentation: