问题
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