Container memory and CPU unitization in percentage.

26 views
Skip to first unread message

Anoop

unread,
Nov 27, 2020, 7:55:46 AM11/27/20
to Prometheus Users
Hi,

Is there anyway to find out the container CPU and Memory utilization in percentage using CAdvisor metrics? So that I can configure alert when it reaches a threshold value.

Thank you,
Anoop

Anoop

unread,
Nov 27, 2020, 8:00:54 AM11/27/20
to Prometheus Users
Please note that I need to calculate the percentage based on the resource limit (not based on the node memory).
For eg: 
If the memory resource limit 1GiB and the current usage of the container is 100MiB, then result should be like 10%

Reply all
Reply to author
Forward
0 new messages