Metrics represent the performance data of user systems and are a core concept of Cloud Monitor. Metric data refers to the specific monitoring data of various cloud services, denoting a time-ordered collection of data points sent to Cloud Monitor. Statistical data about these data points can be retrieved as a time series.
Currently, Cloud Monitor offers 1-minute and 5-minute data granularities, and the data storage durations for the two granularities are different.
| Granularity | Storage Duration |
|---|---|
| 1min | 30 days |
| 5min | 30 days |
Storage duration refers to the period from when Cloud Monitor collects the monitoring data until the data is terminated after reaching the corresponding period.
Note:
If a user's cloud resources are reclaimed or terminated, the monitoring data generated by the cloud resources will not be immediately cleared. Cloud Monitor continues to follow a unified storage duration to store and manage the monitoring data of terminated instances.
Users can view or retrieve the monitoring data generated by cloud resources under their accounts through the frontend console or API calls. If the resource object to be viewed has not been reclaimed or terminated, users can view the monitoring data in the frontend console. If the target instance no longer exists, users need to retrieve the corresponding monitoring data through API calls.