简体   繁体   English

通过 API 向 Datadog 发送指标 - 限制

[英]Sending metrics to Datadog through API - Limits

Looking at https://docs.datadoghq.com/api/latest/metrics/#submit-metrics查看https://docs.datadoghq.com/api/latest/metrics/#submit-metrics

I am able to send metrics to datadog but there is a caveat.我能够将指标发送到 datadog,但有一个警告。 In their model, there is a requirement that each value must be tied to a timestamp,but the timestamp should be in seconds and current.在他们的 model 中,要求每个值都必须绑定一个时间戳,但时间戳应该以秒为单位并且是最新的。 Current is defined as not more than 10 minutes in the future or more than 1 hour in the past.当前被定义为不超过未来 10 分钟或过去超过 1 小时。 在此处输入图像描述

I am trying to send metrics outside of that timeframe but unable to do so.我试图在该时间范围之外发送指标,但无法这样做。 Which other method can be used??还有什么方法可以用?? Thanks.谢谢。

I think that the Datadog folks might have a feature in beta that would allow modifying timestamps further in the past.我认为 Datadog 人员可能在测试版中有一个功能,允许在过去进一步修改时间戳。 If you have a Datadog contact, you can ask if they can enable that for you for specific metrics that you send.如果您有 Datadog 联系人,您可以询问他们是否可以为您启用您发送的特定指标。

If this isn't enough, I'm afraid that Datadog might not match your use case.如果这还不够,恐怕 Datadog 可能不符合您的用例。 It has very specific operational use cases for which it shines, but not usually when you want to analyze or ingest data with timestamps in the past.它有非常具体的操作用例,但通常不会在您想要分析或摄取过去带有时间戳的数据时使用。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM