Pay-as-you-go
Billing cycle
The billing cycle for Managed Service for Prometheus is one day. After 00:00 each day, the service calculates the resource usage from the previous day and generates a bill before 08:00. After the bill is generated, the system automatically deducts the amount from your account if your balance is sufficient.
Unit prices
Metric data ingestion
Version | Free hot storage | Unit price in the Chinese mainland (CNY/GB) | Unit price in regions outside the Chinese mainland (CNY/GB) | Finance Cloud unit price (CNY/GB) | Alibaba Gov Cloud unit price (CNY/GB) |
Standard | 90 days | 0.4 | 0.56 | 0.76 | 0.8 |
Enterprise | 180 days | 0.6 | 0.84 | 1.14 | 1.2 |
Archive Storage
Billable item | Unit price in the Chinese mainland (CNY/GB) | Unit price in regions outside the Chinese mainland (CNY/GB) | Finance Cloud unit price (CNY/GB) | Alibaba Gov Cloud unit price (CNY/GB) |
Archive Storage | 0.001 | 0.0014 | 0.0019 | 0.002 |
Billing example based on metric data ingestion
Assume you have a Prometheus instance in the China (Hangzhou) region with two scrape Jobs. One Job scrapes 200 basic metrics from one target. The other Job scrapes 500 custom metrics from each of its two targets. Both Jobs scrape data every 15 seconds. The retention period for hot data is 90 days, and the retention period for data in Archive Storage is 90 days.
Metric ingestion fees
Daily basic metric ingestion = Number of basic metric scrape Jobs × Number of targets per Job × Number of metrics per target × (86,400 seconds per day / Scrape interval) × Assumed size per data point (0.5 KB) = 1 × 1 × 200 × (86,400/15) × 0.5 KB = 576,000 KB ≈ 0.5 GB (rounded to one decimal place)
Daily custom metric ingestion = Number of custom metric scrape Jobs × Number of targets per Job × Number of metrics per target × (86,400 seconds per day / Scrape interval) × Assumed size per data point (0.5 KB) = 1 × 2 × 500 × (86,400/15) × 0.5 KB = 2,880,000 KB ≈ 2.7 GB (rounded to one decimal place)
Monthly fees for basic metric ingestion = CNY 0 (Basic metric ingestion is free)
Monthly fees for custom metric ingestion = ((Daily custom metric ingestion × 30 days per month) - Monthly free quota) × Unit price per GB = ((2.7 × 30) - 50) × 0.4 = CNY 12.4
Total monthly metric ingestion fees = Monthly fees for basic metric ingestion + Monthly fees for custom metric ingestion = 0 + 12.4 = CNY 12.4
Archive Storage fees
Monthly Archive Storage fees = (Daily basic metric ingestion + Daily custom metric ingestion) × Archive Storage retention period × Archive Storage unit price × 30 days = (0.5 + 2.7) × 90 × 0.001 × 30 = CNY 8.64
Note
The amount of data in Archive Storage is cumulative. The preceding formula calculates the fees for a month once the data has been stored for the full 180-day retention period (90 days for hot data and 90 days in Archive Storage).
Archival storage costs accumulate over time, with the following formulas accounting for a total retention period of 180 days.
Total monthly fee = Metric ingestion fees + Archive Storage fees = 12.4 + 8.64 = CNY 21.04
Activation method
Follow the prompts on the service activation page to activate the service. For pay-as-you-go billing based on data writes:
Overdue payments
For the pay-as-you-go billing method, an overdue payment occurs if your account balance is insufficient to cover the charges and you do not top up your account on the same day. For more information, see Overdue payments.