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

Resource Usage Statistics

After metric data is reported to AOM through Prometheus monitoring, you can view the number of reported basic and custom metric samples on the Resource Usage page.

Prerequisites

Precautions

  • The Resource Usage page does not display the number of basic and custom metric samples reported by Prometheus instances for cloud services or for multi-account aggregation.
  • Metric samples are reported every hour. If you specify a time range shorter than one hour, the query result of total metric samples may be 0.
  • The number of metric samples displayed on the Resource Usage page may be different from the actual number.

Procedure

  1. Log in to the AOM 2.0 console.
  2. In the navigation pane, choose Prometheus Monitoring > Resource Usage.
  3. In the upper left corner of the page, select a desired Prometheus instance.
  4. In the upper right corner of the page, set filter criteria.

    1. Set a time range in either of the following ways:

      Method 1: Use a predefined time label, such as Last hour or Last 6 hours. You can select a time range as required.

      You are advised to select a time range longer than 1 hour.

      Method 2: Specify the start time and end time (max. 30 days).

    2. Set the interval for refreshing information. Click and select a value from the drop-down list, such as Refresh manually or 1 minute auto refresh.

  5. View the number of basic metrics and that of custom metrics reported by the Prometheus instance.

    • Custom Metric Samples: include the number of custom metric samples reported within 24 hours and that reported within a specified time range.
    • Basic Metric Samples: include the number of basic metric samples reported within 24 hours and that reported within a specified time range.
    • Custom Metrics: indicates the number of custom metric types reported within a specified time range.
    • Basic Metrics: indicates the number of basic metric types reported within a specified time range.
    • Top 10 Custom Metric Samples: displays the top 10 custom metric samples within a specified time range.
    Figure 1 Viewing metric statistics

  6. In the Instance Info area, view Total Custom Metric Samples (Million), Total Basic Metric Samples (Million), Custom Metric Samples in 24 Hours (Million), Basic Metric Samples in 24 Hours (Million), Custom Metrics, and Basic Metrics.