Collector Configuration Manual for Alibaba Cloud CDN¶
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¶
This script does not require additional configuration.
2. 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_cdn",
"tags": {
"name" : "xxxxx.com",
"CdnType" : "web",
"DomainName" : "xxxxx.com",
"DomainStatus" : "online",
"SslProtocol" : "on",
"CertName" : "xxxxx.com",
"Status" : "success",
"CertType" : "free",
"CertDomainName": "xxxxx.com",
},
"fields": {
"CertExpireTime": "2022-12-13T16:00:00Z",
"GmtCreated" : "2022-12-13T16:00:00Z",
"message" : "{Instance JSON Data}"
}
}
Note
The 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, and fields.message is a JSON serialized string.
X. Appendix¶
Please refer to the official Alibaba Cloud documentation: