Parameter | Description |
Task name | Configure the name of the integration task. |
workspace | Select a created VMP workspace. |
ECS VPC | Select the VPC where the ECS instance is located. |
Security group | Select the security group for the hosted collector to use, which allows the hosted collector to access resources in the VPC of the user. warning To ensure that the hosted collector can collect the metrics of the ECS instance as expected, add the target CIDR block and port of the ECS instance to the outbound access rules of the selected security groups. |
Subnet | Select one or more subnets. This setting is mainly for connecting networks. This setting can be used together with Filtering ECS objects by subnet to specify a granular ECS scope for metric collection. |
Filtering ECS objects by subnet | Specify the ECS scope for metric collection.
|
Service discovery configuration | Configuration example |
volc_sd_configs | The default service discovery configuration. The following is an example: |
http_sd_configs | The service discovery configuration that is natively supported by Prometheus. With no ecosystem dependencies, the configuration applies to scenarios where a complex service discovery mechanism is not required and various backends are flexibly integrated, such as lightweight architectures without a service registry or integration with a custom registry. For more details, see the official documentation. Sample code: |
consul_sd_configs | The service discovery configuration that is natively supported by Prometheus. It natively integrates with Consul, offering a high degree of automation. It applies to scenarios where the Consul service mesh has been deployed, or large-scale dynamic monitoring is required, such as the scenario where Consul is deployed as a service registry, monitoring of large-scale microservices clusters, and multi-data center environments. For more details, see the official documentation. Sample code: |