This topic describes how to view the billing details and resource consumption of Prometheus Service. This topic also describes how to discard custom metrics that you no longer require to avoid unnecessary costs.

View billing details

  1. Log on to the Billing Management console.
  2. In the left-side navigation pane, choose Spending Summary > Spending Summary.
  3. On the Bills page, click the Bills tab.
  4. On the Bills tab, set the Billing Cycle, Account, and Order/Bill No. filters. Then, click Search.
  5. In the bill list, click the Filter icon next to Product Name and select Application Real-Time Monitoring Service. Then, click the Filter icon next to Product Details and select Prometheus. The bills of Prometheus Service are displayed.

    In the bill list, you can click the Filter icon next to Subscription Type, Item, and Status and select the options to filter the bills that you want to display.

View resource consumption

If you have activated Prometheus Service Pro Edition, you can view resource consumption in the Prometheus Service console. You can set filters to view the resources consumed by a specified Prometheus instance or all Prometheus instances within a specified period of time.

  • View the resource consumption of all Prometheus instances
    1. Log on to the ARMS console.
    2. In the left-side navigation pane, choose Prometheus Monitoring > Prometheus Monitoring.
    3. On the Prometheus Monitoring page, click Resource Consumption.
    4. In the Resource Consumption section, set the Time Interval and Time Range filters, and then click Query. The resource consumption details of all your Prometheus instances are displayed.
      Note
      • The y-axis represents the number of custom metric data samples that are reported to Prometheus Service.
      • When you move the pointer over a column for a specific time range, the total number of custom metric data samples and the number of custom metric data samples consumed by a Prometheus instance over the time range are displayed.
  • View the resource consumption of a specified Prometheus instance
    1. Log on to the ARMS console.
    2. In the left-side navigation pane, choose Prometheus Monitoring > Prometheus Monitoring.
    3. On the Prometheus Monitoring page, click Resource Consumption.
    4. In the Resource Consumption section, set the Instance, Task, Metric, Time Interval and Time Range filters, and then click Query. The resource consumption details of the specified Prometheus instance are displayed. sc_application_resource_consumption_statistics
      Note
      • The y-axis represents the number of custom metric data samples that are reported to Prometheus Service.
      • When you move the pointer over a column for a specific time range, the total number of custom metric data samples or the number of custom metric data samples consumed by a single task over the time range is displayed.
    5. Click View All Metrics next to Query. You are redirected to the Metrics tab of the Settings page. On this tab, you can view all metrics of the Prometheus instance. For more information, see View the metrics of a Prometheus instance.

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.