All Products
Search
Document Center

Managed Service for Prometheus:Query usage

Last Updated:Mar 11, 2026

Managed Service for Prometheus tracks resource consumption across your instances in two dimensions: reporting volume (measured in data points) and writing volume (measured in bytes). Use the Usage Statistics page to monitor this data and manage costs.

View usage data

  1. In the left-side navigation pane, click Usage Statistics.

  2. In the upper-right corner, set the time range to view usage data for a specific period.

Usage Statistics page

Usage data retention

To meet custom statistical requirements, starting November 25, 2024, you can use Managed Service for Prometheus to create Simple Log Service Metricstores for Prometheus usage data. The retention duration is 180 days. You can run custom queries on this historical data to analyze usage trends and identify cost optimization opportunities.

The free tier includes:

  • Storage capacity

  • Indexing

  • Read/write traffic

  • Read/write operations

Note: Other Simple Log Service features may incur fees.

Metricstore settings

SettingValue
Projectaliyun-product-data-{userId}-cn-shanghai
Metricstoreprom_finance_aggr

Metrics

Managed Service for Prometheus records usage in two dimensions:

  • Reporting volume (points): The number of data points reported by your monitoring targets. This reflects how many metric samples are collected per scrape interval.

  • Writing volume (bytes): The amount of data written to storage. This reflects the actual data size of ingested metrics.

Each dimension separates basic metrics (free tier) from custom metrics (billed).

MetricDimensionTierUnitDescription
prom_points_job_total_costReporting volumeCustom (billed)PointsData points reported by custom metrics at the job level
prom_points_job_total_freeReporting volumeBasic (free)PointsData points reported by basic metrics at the job level
prom_serverless_job_amount_costWriting volumeCustom (billed)BytesData written by custom metrics at the job level
prom_serverless_job_amount_freeWriting volumeBasic (free)BytesData written by basic metrics at the job level
prom_serverless_archive_amountWriting volumeArchivalBytesData billed by writing volume that enters archival storage

Tags

Use these tags to filter and aggregate usage data by instance, region, or job:

TagDescription
instanceIdManaged Service for Prometheus instance ID
instanceNameManaged Service for Prometheus instance name
regionIdRegion where the instance is deployed
jobSampling task name
userIdAlibaba Cloud account ID

Reduce costs

To lower your Managed Service for Prometheus costs, reduce the number of custom metrics you report. Custom metrics (_cost suffix) are billed, while basic metrics (_free suffix) are free.

  • Discard unused metrics: If you no longer need specific metrics, . Discarded metrics are not billed.

  • Re-enable metrics: To resume monitoring previously discarded metrics, . Standard billing applies after re-enablement.