All Products
Search
Document Center

Application Real-Time Monitoring Service:Automatically archive Prometheus instances

Last Updated:Mar 11, 2026

When the default storage duration of a Managed Service for Prometheus instance expires, metric data is deleted. Archival storage retains expired data by compressing and migrating it to lower-cost storage media, where it remains queryable for a configurable period.

How archival storage works

Each Prometheus instance has a default storage duration. When archival storage is enabled, data that exceeds the default storage duration is automatically compressed and moved to archival storage media instead of being deleted.

Total retention = default storage duration + archival storage duration.

For example, if the default storage duration is 90 days and the archival storage duration is 60 days:

  • Data less than 90 days old is in default storage media.

  • Data between 91 and 150 days old is in archival storage media.

  • Data older than 150 days is automatically deleted.

Archival storage timeline

Default storage vs. archival storage

Default storageArchival storage
Data ageWithin the default storage durationBeyond the default storage duration
Query concurrencyUnlimitedOne query at a time per Alibaba Cloud account
Concurrent query behaviorNo restrictionsAdditional queries return a timeout error
BillingPay-as-you-goPay-as-you-go, based on the amount of retained data

Enable archival storage for a new instance

  1. Log on to the ARMS console.

  2. In the left-side navigation pane, choose Managed Service for Prometheus > Instances.

  3. On the Instances page, click Create Prometheus Instance.

  4. On the Create Instance page, set Instance Type to General-purpose Instance.

  5. Turn on Automatic Archiving by clicking the toggle icon, and set the storage duration and other parameters as prompted.

    Create instance with archival storage enabled

  6. Click Create Now.

Enable archival storage for an existing instance

  1. On the Instances page, find your Prometheus instance and click Settings in the Actions column.

  2. Click the Storage Duration tab.

  3. In the Storage Settings section, turn on Automatic Archiving by clicking the toggle icon, set the Storage Duration, and click Save.

Disable archival storage

  1. On the Instances page, find your Prometheus instance and click Settings in the Actions column.

  2. Click the Storage Duration tab.

  3. In the Storage Settings section, turn off Automatic Archiving by clicking the toggle icon, and click Save.

Limits

LimitDetails
Supported billing modeOnly Prometheus instances on the pay-by-observable-data billing mode support archival storage.
Archival storage duration60, 90, 180, or 365 days.
Query concurrency for archived dataOne query at a time per Alibaba Cloud account. Additional concurrent queries return a timeout error. This limit does not apply to data in default storage.

Billing

Archival storage is billed on a pay-as-you-go basis. Charges are calculated based on the amount of retained data. For pricing details, see Archival storage.