Updated on 2025-07-01 GMT+08:00

Setting Metric Storage Duration

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

Prerequisite

Your service has been connected for Prometheus monitoring. For details, see Managing Prometheus Instances.

Constraints

The function of setting metric storage duration is available only to whitelisted users. If you need this function, submit a service ticket.

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 on the left, 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.