Updated on 2026-07-29 GMT+08:00

Setting Metric Storage Duration

This section describes how to set metric storage duration for common Prometheus instances and Prometheus instances for CCE/multi-account aggregation/APM.

Prerequisite

Your service has been connected for Prometheus monitoring. For more details, see:

Constraints

  • This function is not generally available. To use it, submit a service ticket.
  • The storage duration of the Prometheus instances for multi-account virtual aggregation cannot be configured.

Procedure

  1. Log in to the AOM 2.0 console.
  2. In the navigation pane on the left, choose Prometheus Monitoring > Instances.
  3. In the instance list, click a desired Prometheus instance. The instance details page is displayed.
  4. In the navigation pane, choose Settings. Then click the Storage Duration tab.
  5. On the displayed page, select a storage duration. Options: 15 days/30 days/60 days/90 days.
  6. In the displayed dialog box, click OK to change the storage duration.

    This storage can only be changed once within 24 hours.