I currently have a bunch of custom metric’s based in multiple regions across our AWS account.
I thought I was going crazy but have now confirmed that the metric I created a while ago is expiring when not used for a certain time period (could be 2 weeks).
Here’s my setup.
I create a new metric on my log entry – which has no expiry date;
I then go to the main page on CloudWatch –> then to Metrics to view any metrics (I understand this will only display new metric hits when there are hits that match the metric rule).
About 2 weeks ago, I had 9 Metrics logged under my “Custom Namespaces”, and I now have 8 – as if it does not keep all the data:
As far as i’m aware, all my metrics should stay in place (unless I remove them), however, it seems as though if these are not hit consistently, the data “expires”, is that correct? If so, how are you meant to track historical data?