gpt4 book ai didi

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

转载 作者:行者123 更新时间:2023-12-02 01:01:00 25 4
gpt4 key购买 nike

我正在尝试触发自定义 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

关于amazon-web-services - 具有回溯时间戳的 Cloudwatch 自定义指标显示缓慢,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/28615720/

25 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com