Alibaba Cloud Managed Service for Prometheus Pro Edition supports the pay-as-you-go billing method. You are charged based on your resource usage. Bills are generated and fees are deducted from the balance of your Alibaba Cloud account at the end of each billing cycle. This topic describes the billing information and billable items.
The prices involved in this topic are only for reference. Prices on the buy page shall prevail.
Billable items
You are charged for Managed Service for Prometheus based on the number of reported data samples of metrics and the storage duration of each data sample.
The metrics are classified into two types: basic metrics and custom metrics. For more information about basic metrics, see Metrics. Custom metrics refer to non-basic metrics.
Starting from January 1, 2023, no free quota is provided for reporting data samples in the custom metrics category, and 1 million reported data samples in the custom metrics category is considered a unit for billing. The minimum number of data samples of custom metrics for billing is 1 million. If the number of reported data samples in the custom metrics category is between 0 and 1 million, you are charged for 1 million data samples.
Data samples: You are not charged a data reporting fee for the data samples of basic metrics. You are charged a data reporting fee only for the data samples of custom metrics. For information about the billing of custom metrics, see the Billing information section.
The number of data samples is calculated based on the data model of open source Prometheus. A data sample includes a metric name, labels, a timestamp, and values. Data samples are organized in a time series. For example, the kube_node_status_allocatable_cpu_cores metric is used to monitor the number of CPU cores that can be allocated per node in a Kubernetes cluster. If your cluster contains three nodes, data samples are collected from the three nodes and form three time series. If data is sampled in each node at an interval of 15 seconds, the total number of data samples reported per minute is calculated by using the following formula: 3 × (60/15) = 12 (data samples), as shown in the following figure.
Storage duration: You are charged a data storage fee based on the storage duration of basic metrics and custom metrics. All metrics can be stored for 30 days free of charge. If the storage duration exceeds 30 days, you are charged USD 0.002 for every one million data samples per day.
Billing cycle
Managed Service for Prometheus generates a bill between 13:00 and 22:00 (UTC+8) each day for the previous day based on the pay-as-you-go billing method and deducts the amount of fees on the bill from the balance of your Alibaba Cloud account.
Managed Service for Prometheus generates a bill for each Prometheus instance. If your account (Alibaba Cloud account or RAM user) has multiple pay-as-you-go Prometheus instances, multiple bills are generated.
Usage notes
The size of a reported data sample cannot exceed 2 KB.
By default, each data sample is stored for 15 days. If you want to store data for a longer duration, you can modify the Storage Days parameter on the Storage Duration tab based on your business requirements. For more information, see How do I change the storage duration of the data samples for a metric?
Managed Service for Prometheus is available for commercial use in the public cloud of Alibaba Cloud. For more information, see Supported regions.
Billing rules
Chinese mainland
Data reporting fee: You are charged a data reporting fee for custom metrics based on the number of reported data samples per day. Fees are cumulatively calculated by using a tiered pricing model in which the unit price for a tier is lower than the unit price for the previous tier.
Number of reported data samples in a day (million)
Unit price (USD/million)
Daily fee (USD)
0 to 50
0.126
0 to 6.299
50 to 150
0.102
6.299 to 16.535
150 to 300
0.087
16.535 to 29.528
300 to 600
0.071
29.528 to 50.787
600 to 1,200
0.055
50.787 to 83.858
> 1,200
0.039
> 83.858
Data storage fee: Metrics can be stored for 30 days free of charge. By default, the storage duration is 15 days. If the storage duration is set to a value larger than 30 days, you are charged USD 0.002 for every one million data samples per day.
Example
For example, you use Managed Service for Prometheus Pro Edition in the China (Hangzhou) region. Assume that the average number of data samples reported per day is 300 million, among which 200 million belong to basic metrics and 100 million belong to custom metrics. The following items demonstrate how the total fee per day is calculated if the 300 million data samples are stored for 15 days or 90 days.
Total fee = Data reporting fee + Data storage fee. If the data is stored for 15 days, the total fee per day is calculated by using the following formula: [50 × 0.126 + (100 - 50) × 0.102] + 0 = USD 11.4.
If the data is stored for 90 days, the total fee per day is calculated by using the following formula: [50 × 0.126 + (100 - 50) × 0.102] + [300 × 0.002 × (90 - 30)] = USD 47.4.
Regions outside the Chinese mainland
The unit prices of data samples in the SAU (Riyadh - Partner Region) region are 1.2 times the prices in other regions outside the Chinese mainland.
Data reporting fee
Number of reported data samples in a day (million)
Unit price (USD/million)
Daily fee (USD)
0 to 50
0.176
0 to 8.819
50 to 150
0.143
8.819 to 23.150
150 to 300
0.121
23.150 to 41.339
300 to 600
0.099
41.339 to 71.102
600 to 1,200
0.077
71.102 to 117.402
> 1,200
0.055
> 117.402
Data storage fee: Metrics can be stored for 30 days free of charge. By default, the storage duration is 15 days. If the storage duration is set to a value larger than 30 days, you are charged USD 0.002 for every one million data samples per day.
Example
For example, if 150 million data samples are reported the first day that you use the service, the daily fee is calculated by using the following formula: [50 × 0.176 + (150 - 50) × 0.143] = USD 23.119.
Procedure
Activate Managed Service for Prometheus and enable the pay-as-you-go billing method in the Application Real-Time Monitoring Service (ARMS) console.
Impact of overdue payments on resources
For information about the impact of overdue payments on resources, see Overdue payments.
View your bills and resource usage
You can check the bills related to Managed Service for Prometheus in the Expenses and Costs console. For more information, see View your bills.
To view your resource consumption details in the ARMS console, click Usage Statistics on the Overview page.