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

Managing Prometheus Instances

You can view the names, types, and enterprise projects of Prometheus instances in the instance list and modify and delete them as required.

Procedure

  1. Log in to the AOM 2.0 console.
  2. In the navigation pane on the left, choose Prometheus Monitoring > Instances. In the instance list, view the created Prometheus instances and perform the operations listed in Table 1 if needed.

    Figure 1 Managing Prometheus instances
    Table 1 Related operations

    Operation

    Description

    Searching for a Prometheus instance

    Enter an instance name in the search box and click .

    Filtering and displaying Prometheus instances

    Click next to the Instance Type column to filter Prometheus instances.

    Refreshing Prometheus instances

    Click in the upper right corner of the Prometheus instance list to obtain their latest information in real time.

    Checking a Prometheus instance

    The Prometheus instance list displays information such as the instance name, instance type, billing mode, and enterprise project in real time.

    • When you have an access code:

      Click an instance name. On the displayed instance details page, choose Settings and view the basic information and credential of the instance.

      • By default, the AppSecret is hidden. To show it, click . or reflects the status of the AppSecret.
      • In the Grafana Data Source Info area, obtain the Grafana data source configuration code in the private or public network of the desire Prometheus instance. Then click on the right to copy the code to the corresponding file.
      • In the Service Addresses area, obtain the configuration code in the private or public network of the desire Prometheus instance. Then click on the right to copy the code to the corresponding file. For details, see Obtaining the Service Address of a Prometheus Instance.
    • When you do not have an access code:
      1. Click an instance name. On the displayed instance details page, choose Settings and view the basic information about the instance. The system displays a message indicating that there is no access code.
      2. Click Add Access Code. In the displayed dialog box, click OK.

      Then, choose Settings in the navigation pane of the AOM 2.0 console. On the displayed page, choose Authentication in the navigation pane and manage access codes. For details, see More Operations.

    Modifying a Prometheus instance

    • Modify a Prometheus instance name:

      Click in the Operation column that contains the target Prometheus instance. The name of each Prometheus instance in an enterprise project must be unique.

    • Modify Prometheus instance configurations:

      In the Prometheus instance list, click the name of a Prometheus instance for cloud services, CCE, or multi-account aggregation and modify the connected cloud services/CCE clusters/accounts if needed.

    Deleting a Prometheus instance

    Click in the Operation column that contains the target Prometheus instance.

    Checking the Billing Information of a Prometheus Instance

    In the Prometheus instance list, the Billing Mode column displays the billing mode and creation time of the Prometheus instance. Currently, only pay-per-use billing is supported.

    NOTE:
    • If your account is frozen or restricted, your Prometheus instances cannot be added, deleted, or modified.
    • To continue using your cloud services, top up your account in time. For details, see Arrears.