Help Center/ Application Operations Management/ FAQs/ Prometheus Monitoring/ How Do I Obtain the Service Address of a Prometheus Instance?
Updated on 2025-08-13 GMT+08:00

How Do I Obtain the Service Address of a Prometheus Instance?

You can log in to the AOM 2.0 console and go to the Prometheus instance details page to obtain the service address of a Prometheus instance.

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, click the target Prometheus instance.
  3. On the instance details page, choose Settings in the navigation pane to obtain the service address of the current instance.

    The following describes how to obtain the service address of a Prometheus instance for CCE.

    • Click the Intranet or Public Network tab to obtain the configuration code for Prometheus remote read and write in the intranet or public network. Click on the right of the code to copy the code to the corresponding file.
    • Obtain the configuration code for Prometheus remote read.
      Figure 1 Configuration code for Prometheus remote read

      Remote read address:

      url: 'https://aom.{region_name}.{Site domain name suffix}/v1/{project_id}/api/v1/read'
      Remote read address parameters:
      • region_name: domain name or IP address of the server where the REST service is deployed. The value varies depending on services and regions.
      • Site domain name suffix: site domain name suffix, for example, myhuaweicloud.com.
      • project_id: project ID.
    • Obtain the configuration code for Prometheus remote write.
      Figure 2 Configuration code for Prometheus remote write

      Remote write address in the intranet:

      url: 'https://aom-internal-access.{region_name}.{Site domain name suffix}:8443/v1/{project_id}/push'

      Remote write address in the public network:

      url: 'https://aom-access.{region_name}.{Site domain name suffix}:8443/v1/{project_id}/push'
      Remote write address parameters:
      • region_name: domain name or IP address of the server where the REST service is deployed. The value varies depending on services and regions.
      • Site domain name suffix: site domain name suffix, for example, myhuaweicloud.com.
      • project_id: project ID.