Help Center> Cloud Eye> FAQ> Product Consultation> How Long Is the Metric Data Retained?

How Long Is the Metric Data Retained?

Metric data includes raw data and rolled-up data.

  • Raw data is retained for two days.
  • Rolled-up data is data aggregated based on raw data. The retention time for rolled-up data depends on the rollup period:
    Table 1 Retention duration for metric data

    Period

    Retention Duration

    5 minutes

    10 days

    20 minutes

    20 days

    1 hour

    155 days

    4 hours

    300 days

    1 day

    5 years

If an instance is disabled, stopped, or deleted, its metrics will be deleted one hour after the raw data reporting of those metrics stops. When the instance is enabled or restarted, raw data reporting of its metrics will resume. If the instance has been disabled or stopped shorter than two days or the previous rollup data retention time, you can view the historical data of its metrics generated before these metrics are deleted.