Docker compose: resource usage is high

42 views
Skip to first unread message

Somnath Pandey

unread,
Sep 21, 2021, 3:18:49 AM9/21/21
to Prometheus Users
Hi All,

I wants to monitor docker, which is running standalone server.
I followed the below link to monitor the docker container and recourses.

My query: 
docker-compose.yml created 3 containers prometheus, cadvisor and redis.

1. prometehus container itself taking more memory(between 2-3GB) 
2. cadvisor container itself taking more CPU(40%) 

How to reduce the memory and CPU for those containers ?

Thanks in advanced. 

Somnath Pandey

unread,
Sep 22, 2021, 8:31:12 AM9/22/21
to Prometheus Users
Could any one help on it ?

Joe Pauly

unread,
Sep 22, 2021, 9:26:17 AM9/22/21
to Somnath Pandey, Prometheus Users
Prometheus looks for metrics scrapped metrics are large more cpu and memory it consumes
https://source.coveo.com/2021/03/03/prometheus-memory/

Go Profiler - dont have much details



--
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 view this discussion on the web visit https://groups.google.com/d/msgid/prometheus-users/31ff34f7-242f-40a5-8587-86a5a7704cden%40googlegroups.com.


--
Reply all
Reply to author
Forward
0 new messages