Metric data includes original metric data and rollup metric data.
- Original metric data is sample raw data and is retained for two days.
- Rollup metric data is data aggregated based on original metric data. The retention durations for rollup metric data vary depending on the rollup period.
- Metric data whose rollup period is 5 minutes is retained for 10 days.
- Metric data whose rollup period is 20 minutes is retained for 20 days.
- Metric data whose rollup period is 1 hour is retained for 155 days.
- Metric data whose rollup period is 4 hours is retained for 300 days.
- Metric data whose rollup period is 1 day is retained for 5 years.
If a resource instance is stopped, closed, or deleted, an original metric will be deleted one hour after its original data is not reported for one hour. After the metric data report resumes, the historical data of the metric is available.