All Products
Search
Document Center

Managed Service for Prometheus:Automatically archive Prometheus instances

Last Updated:Mar 11, 2026

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 ageStorage locationStatus
0--90 daysDefault storage mediaActive
91--150 daysArchival storage mediaArchived
Over 150 days--Automatically deleted
Archival storage data lifecycle

Enable archival storage for a new instance

  1. Log on to the Managed Service for Prometheus console.

  2. In the left-side navigation pane, click Instances.

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

  4. On the Create Instance page, configure the following settings:

    • Set Instance Type to General-purpose Instance.

    • Click the toggle icon to turn on Automatic Archiving.

    • Set the archival storage duration and other parameters as prompted.

    Create instance with archival storage enabled

  5. Click Create Now.

Enable archival storage for an existing instance

  1. Log on to the Managed Service for Prometheus console. In the left-side navigation pane, click Instances.

  2. On the Instances page, find the target Prometheus instance and click Settings in the Actions column.

  3. On the Settings page, click the Storage Duration tab.

  4. In the Storage Settings section, click the toggle icon to turn on Automatic Archiving, set the Storage Duration parameter, and click Save.

Disable archival storage

  1. Log on to the Managed Service for Prometheus console. In the left-side navigation pane, click Instances.

  2. On the Instances page, find the target Prometheus instance and click Settings in the Actions column.

  3. On the Settings page, click the Storage Duration tab.

  4. In the Storage Settings section, click the toggle icon to turn off Automatic Archiving, and click Save.

Limits

LimitDescription
Supported billing modeOnly Prometheus instances that use the pay-by-observable-data billing mode
Archival storage duration60, 90, 180, or 365 days
Query concurrency for archived dataOne 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.