Datadog alert when Amazon RDS is created

妖精的绣舞 提交于 2020-01-25 07:20:32

问题


I have an alert in Datadog when CPU Credits are low. The problem is when I create a new RDS in Amazon, initially it has 0 CPU credits and I receive this alert.

How can I avoid this case? I tried to find "time since creation" metric, but with no success.


回答1:


Have you tried composite monitors? You should be able to combine your low CPU Credit monitor with another monitor that looks at events from RDS.

Two monitors such as:

  • A: CPU Credit < 10
  • B: Number of event received about RDS creation > 1 in past hour

A composite monitor: A && !B

(I hope my example makes sense)



来源:https://stackoverflow.com/questions/58502004/datadog-alert-when-amazon-rds-is-created

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!