开发者

How long does metrics data in AWS cloudwatch maintained

开发者 https://www.devze.com 2023-02-15 23:13 出处:网络
Their API reference says the date start date should be less than 14 days from the current date. I would开发者_如何学C like to know whether the data older than this is deleted and not availableMetrics

Their API reference says the date start date should be less than 14 days from the current date. I would开发者_如何学C like to know whether the data older than this is deleted and not available


Metrics used to be kept for 2 weeks, but as @sfgeorge points out, AWS has increased storage times.

http://docs.aws.amazon.com/AWSEC2/latest/UserGuide/using-cloudwatch.html

When you use the mon-put-data command, you must use a date range within the past two weeks. There is currently no function to delete data points. Amazon CloudWatch automatically deletes data points with a timestamp more than two weeks old.


As of November 1st, 2016, the retention window for AWS metrics in CloudWatch has expanded from 14 days to 15 months.

Note that the data granularity will be reduced when you widen your range beyond the past 15 days:

  • One minute data points are available for 15 days.
  • Five minute data points are available for 63 days.
  • One hour data points are available for 455 days (15 months).


As found in https://aws.amazon.com/ec2/faqs/ :

Q: Will I lose the metrics data if I disable monitoring for an Amazon EC2 instance?

You can retrieve metrics data for any Amazon EC2 instance up to 2 weeks from the time you started to monitor it. After 2 weeks, metrics data for an Amazon EC2 instance will not be available if monitoring was disabled for that Amazon EC2 instance. If you want to archive metrics beyond 2 weeks you can do so by calling mon-get-stats command from the command line and storing the results in Amazon S3 or Amazon SimpleDB

0

精彩评论

暂无评论...
验证码 换一张
取 消