简体   繁体   English

用于监视时间聚合的Datadog时间单位

[英]Datadog unit of time for monitor time aggregation

I've been trying to understand the time aggregation for Datadog monitoring alerts. 我一直在尝试了解Datadog监视警报的时间汇总。 The official doc http://docs.datadoghq.com/guides/monitors/#define-the-conditions I understand the idea of time aggregation, but I'm confused about the unit of time as it's not mentioned anywhere. 官方文档http://docs.datadoghq.com/guides/monitors/#define-the-conditions我了解时间聚合的概念,但是我对时间单位感到困惑,因为在任何地方都没有提到时间单位。 Is it aggregating over 1 minute intervals? 是否以1分钟为间隔进行汇总? To rephrase this when I use sum(last_30m){X} is it summing the values of X for each minute? 为了重述这一点,当我使用sum(last_30m){X} ,是否将每分钟的X值相加? What about sum(last_1h){X} ? sum(last_1h){X}呢? Is it still each minute? 还在每分钟吗?

Datadog monitors evaluate every minute, I think. 我认为Datadog监视器会每分钟进行评估。 So in your sum(last_30m){X} example, every minute, the monitor would sum the values of {X} over the last 30 minutes, and if that value was above whatever threshold you set, then it would trigger an alert. 因此,在您的sum(last_30m){X}示例中,监视器将每分钟对过去30分钟内{X}的值进行求和,如果该值超过您设置的阈值,则会触发警报。 Same thing for sum(last_1h){X} , but every minute it would evaluate the sum over the last 1 hour. sum(last_1h){X} ,但每分钟都会评估最近1小时的总和。

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

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