How to effectively monitor abnormal occurrences of CPU and memory usage in containers using PrometheusQL expressions?

25 views
Skip to first unread message

yuan xiao

unread,
May 29, 2024, 11:23:59 AM5/29/24
to Prometheus Users
Scenario 1: Monitoring sudden spikes in container memory usage, such as going from 300M in one minute to 11G in the next minute. How can we achieve effective monitoring and alerting in such cases?
Scenario 2: Monitoring continuous memory growth of containers, such as a sustained increase in container memory usage over the past 4 hours. How can we implement effective monitoring and alerting for this situation?

When either of the above two scenarios occur, Prometheus alerting rules can be triggered to send out alert notifications.

When either of the above two scenarios occur, Prometheus alerting rules can be triggered to send out alert notifications.The Prometheus scraping interval is 1 minute.We have deployed monitoring components such as Prometheus, Grafana, Alertmanager, Pushgateway、exporter and cAdvisor.
Reply all
Reply to author
Forward
0 new messages