Updated on 2024-09-06 GMT+08:00

Prometheus Instance for ECS

This type of instance is recommended when you need Prometheus monitoring in a VPC (usually an ECS cluster) on the cloud. If needed, add Prometheus middleware monitoring at the access center.

Creating a Prometheus Instance for ECS

  1. Log in to the AOM 2.0 console.
  2. In the navigation pane on the left, choose Prometheus Monitoring > Instances. On the displayed page, click Add Prometheus Instance.
  3. Set an instance name, enterprise project, and instance type.

    Table 1 Parameters for creating a Prometheus instance

    Parameter

    Description

    Instance Name

    Prometheus instance name.

    Enter a maximum of 100 characters and do not start or end with an underscore (_) or hyphen (-). Only letters, digits, underscores, and hyphens are allowed.

    Enterprise Project

    Enterprise project.

    • If you have selected All for Enterprise Project on the global settings page, select one from the drop-down list here.
    • If you have already selected an enterprise project on the global settings page, this option will be dimmed and cannot be changed.

    Instance Type

    Type of the Prometheus instance. Select Prometheus for ECS.

  4. Click OK.

Configuring a Collection Task

  1. Log in to the AOM 2.0 console.
  2. In the navigation pane on the left, choose Prometheus Monitoring > Instances.
  3. In the instance list, click the target Prometheus instance for ECS. The Access Center page is displayed.
  4. In the Not Installed panel on the right, locate the desired plug-in and click Install.

    • Configure a collection task and install Exporter. For details, see Access Overview.
    • After the plug-in is installed, metrics can be reported to AOM. You can then check the metrics on the Metric Management page of the Prometheus instance.
    • Click Connected Collection Tasks to check information about the connected collection tasks. You can also delete them if they are no longer needed.

  5. (Optional) In the Installed panel on the right, locate the target plug-in and click Connect XX, for example, Connect MySQL, and then configure collection tasks as required.