具有回溯时间戳的 Cloudwatch 自定义指标显示缓慢

Cloudwatch custom metrics with backdated timestamps slow to appear

我正在尝试触发自定义 cloudwatch 指标。在度量事件上设置时间戳对我们很重要。

当我将时间戳设置为过去一天左右的时间时,我几乎可以立即在 cloudwatch 控制面板或使用 aws-cli 上看到事件出现。

问题是我将时间戳设置为一天前的时间。好像要等很久才能看到这个事件。我没有得到准确的测量值,但有些事件需要大约 24 小时才能出现。

这正常吗?有没有任何文件可以在任何地方解释这一点?顺便说一句,我知道 cloudwatch 只将事件保留 14 天 - 我并没有尝试设置过去那么久的时间戳。

顺便说一下,我正在通过 Apache Camel 使用 Java SDK 将数据发送到 cloudwatch,但我认为这不相关 - 事件 使用适当的时间戳去 cloudwatch。

记录的行为:

Data that is timestamped 24 hours or more in the past may take in excess of 48 hours to become available from submission time using GetMetricStatistics.

http://docs.aws.amazon.com/AmazonCloudWatch/latest/APIReference/API_PutMetricData.html