PromQL Query for percentage of memory usage by a container

2,128 views
Skip to first unread message

Saurabh Garg

unread,
Jun 10, 2019, 9:04:17 PM6/10/19
to Prometheus Users
Hello,
Can someone please help with the expression to find the percentage of memory usage by a container.
"container_memory_usage_bytes" gives the memory used but for percentage we also need to know total memory allocated to the container.

Thanks,
Saurabh Garg

Aliaksandr Valialkin

unread,
Jun 11, 2019, 5:57:32 PM6/11/19
to Saurabh Garg, Prometheus Users

--
You received this message because you are subscribed to the Google Groups "Prometheus Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to prometheus-use...@googlegroups.com.
To post to this group, send email to promethe...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/prometheus-users/dcf9d315-2df7-4289-9694-7c2e32ccd9e5%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


--
Best Regards,

Aliaksandr
Reply all
Reply to author
Forward
0 new messages