Pay-as-you-go

Updated at:

Billing cycle

Managed Service for Prometheus is billed on a daily cycle. After 00:00 each day, the service calculates the previous day's resource consumption. Bills are typically generated before 08:00. After a bill is generated, the system automatically deducts the fee from your account balance if sufficient.

Unit prices

Reported metric data

Daily reported metrics

(millions)

Unit price in the Chinese mainland

(CNY/million)

Unit price in China (Hong Kong) and other regions outside China

(CNY/million)

Unit price for Alibaba Finance Cloud

(CNY/million)

Unit price for Alibaba Gov Cloud

(CNY/million)

0 < Reported metrics ≤ 50

0.8

1.12

1.6

1.2

50 < Reported metrics ≤ 150

0.65

0.91

1.3

0.975

150 < Reported metrics ≤ 300

0.55

0.77

1.1

0.825

300 < Reported metrics ≤ 600

0.45

0.63

0.9

0.675

600 < Reported metrics ≤ 1200

0.35

0.49

0.7

0.525

Reported metrics > 1200

0.25

0.35

0.5

0.375

Hot storage

For instances billed by reported metric volume, data stored beyond the free storage period is charged based on the daily number of reported metrics at a rate of CNY 0.01 per million metrics per day.

How to enable the service

To enable billing based on the volume of reported data, use this activation link and follow the on-screen prompts.

Billing example for a Prometheus instance

Example 2: Billing by reported metric volume

Assume you have a Prometheus instance in the China (Hangzhou) region with two scrape jobs that both run every 15 seconds. One job collects basic metrics from one target with 200 metrics. The other collects custom metrics from two targets, each with 300 metrics. The hot data storage duration is 30 days, and the archive storage duration is 90 days.

Data ingestion fee

  • Daily reported basic metrics = (Number of basic metric jobs) × (Number of targets per job) × (Number of metrics per target) × (86,400 seconds per day / Scrape interval in seconds) = 1 × 1 × 200 × (86,400 / 15) = 1,152,000

  • Daily reported custom metrics = (Number of custom metric jobs) × (Number of targets per job) × (Number of metrics per target) × (86,400 seconds per day / Scrape interval in seconds) = 1 × 2 × 300 × (86,400 / 15) = 3,456,000

  • Monthly fee for basic metrics = USD 0 (Basic metrics are reported free of charge)

  • Monthly fee for custom metrics = ((Daily reported custom metrics - Free quota for custom metrics) / 1,000,000) × (Unit price per million) × 30 days = ((3,456,000 - 500,000) / 1,000,000) × 0.8 × 30 = 3 (The reported volume is rounded to the nearest integer) × 0.8 × 30 = CNY 72

  • Total monthly data ingestion fee = Monthly fee for basic metrics + Monthly fee for custom metrics = 0 + 72 = CNY 72

Archive storage fee

  • Daily archive storage size = (Daily reported basic metrics + Daily reported custom metrics) × (Assumed size per data point) × (Archive storage duration in days) = (1,152,000 + 3,456,000) × 0.5 KB × 90 = 207,360,000 KB ≈ 197.8 GB (Rounded to one decimal place)

  • Monthly archive storage fee = (Daily archive storage size in GB) × (Unit price for archive storage) × 30 days = 197.8 × 0.001 × 30 = CNY 5.934

Note

Archive storage is cumulative. The formula above calculates the fee after data has been stored for the full 120-day period (30 days of hot storage + 90 days of archive storage).

Total monthly fee = Data ingestion fee + Archive storage fee = 72 + 5.94 = CNY 77.94