This topic describes how to view the billing details of Managed Service for Prometheus and how to discard custom metrics to reduce costs.
View billing details
Log on to the Expenses and Costs console.
In the left-side navigation pane, choose
.On the Bill Details page, click the Billing Details tab.
On the Billing Details tab, specify the Billing Cycle, Account/Owner Account, and Product filters, and click Search.
Discard metrics
If you no longer want your Prometheus instance to monitor some metrics, you can discard these metrics. You are not charged for discarded metrics.
You cannot discard the basic metrics about ACK clusters.
Log on to the Managed Service for Prometheus console. On the Instances page, click the name of the Prometheus instance.
In the left-side navigation pane, click Service Discovery. On the Metrics tab, discard metrics.
Discard one metric
Find the metric that you want to discard and click Discard in the Actions column.
In the message that appears, click OK.
Discard multiple metrics
In the upper-right corner of the page, click Manage Discarded Metrics.
In the dialog box that appears, enter the names of the metrics that you want to discard and click OK.
ImportantSeparate metric names with line breaks. Commas, semicolons, colons, or spaces are not supported.
Discard all metrics
In the lower-left corner of the page, click Discard All.
In the message that appears, click OK.
Enable discarded metrics
If you want to monitor discarded metrics, you can enable them. You are charged for the enabled metrics.
Log on to the Managed Service for Prometheus console. On the Instances page, click the name of the Prometheus instance.
In the left-side navigation pane, click Service Discovery. On the Metrics tab, enable the discarded metrics.
Enable one discarded metric
Find the discarded metric that you want to enable and click Enable in the Actions column.
In the message that appears, click OK.
Enable multiple discarded metrics
In the upper-right corner of the page, click Manage Discarded Metrics.
In the dialog box that appears, delete the name of the discarded metrics that you want to enable and click OK.