As monitoring data ages, keeping it in high-performance storage becomes costly. Managed Service for Prometheus archival storage automatically compresses and migrates expired metric data to lower-cost storage media, extending retention without manual intervention.
How archival storage works
Each Prometheus instance has a default storage duration. With archival storage enabled, data that exceeds the default storage duration is compressed and moved to archival storage media. The total retention period equals the default storage duration plus the archival storage duration.
Example: A Prometheus instance with a 90-day default storage duration and a 60-day archival storage duration:
| Data age | Storage location | Status |
|---|---|---|
| 0--90 days | Default storage media | Active |
| 91--150 days | Archival storage media | Archived |
| Over 150 days | -- | Automatically deleted |
Enable archival storage for a new instance
Log on to the Managed Service for Prometheus console.
In the left-side navigation pane, click Instances.
On the Instances page, click Create Prometheus Instance.
On the Create Instance page, configure the following settings:
Set Instance Type to General-purpose Instance.
Click the
icon to turn on Automatic Archiving.Set the archival storage duration and other parameters as prompted.

Click Create Now.
Enable archival storage for an existing instance
Log on to the Managed Service for Prometheus console. In the left-side navigation pane, click Instances.
On the Instances page, find the target Prometheus instance and click Settings in the Actions column.
On the Settings page, click the Storage Duration tab.
In the Storage Settings section, click the
icon to turn on Automatic Archiving, set the Storage Duration parameter, and click Save.
Disable archival storage
Log on to the Managed Service for Prometheus console. In the left-side navigation pane, click Instances.
On the Instances page, find the target Prometheus instance and click Settings in the Actions column.
On the Settings page, click the Storage Duration tab.
In the Storage Settings section, click the
icon to turn off Automatic Archiving, and click Save.
Limits
| Limit | Description |
|---|---|
| Supported billing mode | Only Prometheus instances that use the pay-by-observable-data billing mode |
| Archival storage duration | 60, 90, 180, or 365 days |
| Query concurrency for archived data | One query request at a time per Alibaba Cloud account. Additional concurrent requests return a timeout error. This limit does not apply to data in the default storage media. |
Billing
Archival storage uses pay-as-you-go billing, charged based on the amount of retained data. For pricing details, see Archival storage.