All Products
Search
Document Center

Application Real-Time Monitoring Service:Manage the service discovery rules of ECS instances

Last Updated:May 29, 2024

You can configure custom collection to collect metrics from the specified address in an ECS instance. This way, you can use Alibaba Cloud Managed Service for Prometheus in a flexible, automated, and efficient manner.

Limits

Only ACK clusters and ECS instances support the custom collection feature.

Billing

The custom collection feature incurs fees. For more information, see Billing.

Prerequisites

  • An ECS instance is created. For more information, see Create an instance.

  • Metrics are exposed at an address in the ECS instance.

Procedure

  1. Log on to the ARMS console.

  2. In the left-side navigation pane, click Integration Management.

  3. On the Integrated Environments tab, find the ECS instance and click Metric Scraping in the Actions column. The Metric Collection tab appears.

  4. On the Metric Scraping tab, click Customize Collection.

View the custom collection configurations

On the Customize Collection tab, you can view all custom collection configurations in the ECS instance.

image

Add a custom collection configuration

On the Customize Collection tab, click Create. In the Add Custom Collection Task panel, set the Task name parameter, modify the YAML template in the code editor, and then click Precheck and Create.

image

Related operations

Modify a custom collection configuration

In the custom collection configuration list, find the configuration and click Edit in the Actions column. In the Edit Custom Collection Task panel, modify the YAML template.

Delete a custom collection configuration

In the custom collection configuration list, find the configuration and click Delete in the Actions column.

Disable a custom collection configuration

In the custom collection configuration list, find the configuration and click Disable in the Actions column. After you disable a custom collection configuration, it loses effectiveness.