This topic describes how to view the metrics of a Prometheus instance and deprecate one or more custom metrics.

View the metrics of a Prometheus instance

  1. Log on to the ARMS console.
  2. In the left-side navigation pane, choose Prometheus Monitoring > Prometheus Instances.
  3. In the upper-left corner of the page, select the region where the Prometheus instance resides and click the name of the Prometheus instance.
  4. In the left-side navigation pane, click Settings.
  5. On the page that appears, click the Metrics tab.
    On the Metrics tab, the metrics names, percentages, and occurrences in the last one minute are displayed in a table.

    You can filter metrics by job name or metric type. You can also enter a keyword in the search column for metrics.

    View metrics
    Parameter Description
    Metrics The name of the metric.
    job Name The name of the task to which the metric applies.
    Metric type
    • Basic metrics
    • Custom Metrics
    Percentage The percentage of a metric in the total number of metrics.
    Occurrence in Last One Minute The number of metrics that are stored in the database in the last one minute.

Deprecate custom metrics of a Prometheus instance

If you no longer want your Prometheus instance to monitor the data of some custom metrics, you can deprecate these custom metrics so that you are no longer charged for them. Deprecated custom metrics no longer incur charges.

  1. Log on to the ARMS console.
  2. In the left-side navigation pane, choose Prometheus Monitoring > Prometheus Instances.
  3. In the upper-left corner of the page, select the region where the Prometheus instance resides and click the name of the Prometheus instance.
  4. In the left-side navigation pane, click Settings.
  5. On the page that appears, click the Metrics tab. Then, perform the following operations to deprecate custom metrics as needed.
    • To deprecate a custom metric, perform the following steps:
      1. Find the custom metric that you want to deprecate and click Deprecate in the Actions column.
      2. In the Configure Deprecated Metrics dialog box, click OK.
    • To deprecate multiple custom metrics, perform the following steps:
      1. In the upper-right corner of the page, click Configure Deprecated Metrics.
      2. In the Configure Deprecated Metrics dialog box, enter the names of the metrics that you want to deprecate and click OK. Deprecate multiple custom metrics
    • Deprecate all custom metrics
      1. In the lower-left corner of the page, click All Discard.
      2. In the dialog box that appears, click OK.