Docker Monitoring using cAdvisor Prometheus & Grafana
Вставка
- Опубліковано 18 вер 2024
- Monitoring docker containers in a real production world is quite different. You will be needing UI tools like cadvisor, prometheus and grafana for real time and historic monitoring of container metrics like CPU, Memory and Network bandwidth. Simple commands like docker top, docker stats might not be of great use in a big setup.
Network Nuts offers one of the most "exhaustive" DevOps training.
Our website - www.networknut...
Our facebook - / networknuts
Our Instagram - / networknuts
Very well explained. The way you speak is tremendous
Love the excited comments in video. Thank you.
godspeed!!!! man i like the excitement in ur voice :)
After days of search, I finally found an almost working tutorial. Thank you a lot! Simple and straight to the point!
(Almost because I needed to change the cadvisor image, since the official one doesn't seems to like my Apple M1 Pro SoC)
Glad we could help
what image did you use instead?
Thank you for this video! Exactly what I needed to get started
Sir pls explore all topics of docker, u r explanation is really east and good
Like the enthusiasm of host
Great stuff! Thanks
thanks bro
Thanks for sharing ;-)
thanks for sharing this, one query, why is not Grafana getting the information directly from CAdvisor instead of prometheus?
because c advisor doesn't hold any state from my understanding. So you connect it to a timeseries database such as prometheues and you get state.
Can use the same for AWS ECS!??
Hi ,
Thanks for a much help full video.
Could you let us know how redis is connected to prometheus and how it is storing data to redis container.
The data is not stored in Redis. The explanation here is incorrect. I also wondered the same and realized they had copied the docker compose from the official prometheus docs/guides/cadvisor, without attribution. The redis is just a sample container here and the cadvisor is monitoring it. They could have spent 5 minutes researching the topic before recording the video :D
@@rajarajanrajagopalan is it only for cadvisor? are the other containers running as expected?
diff between cadvisor & prometheus exporter. functionality wise
please help on this:- cadvisor exited with code 255
How can I install this on my server without a container? Or can the container connect to the server directly? so we can monitor the server not the container, thanks.
How do I get the exact name of the container instead of the docker id?
will the cAdvisor image works with ARM (RASP Pi 4) installation?
Yes it works just try to find good image version
Hello saw your question in the RHCSA 8 prep exam can you please provide me the answer for this or just tell me which utility can i use
question ======> Use the appropriate utility to create a 5TiB thin provisioned volume???
can we measure energy consumption of docker container using prometheus and grafana?
Hey
I was facing some issue while creating Promethues cadvisor containers using your docker compose file I tried to fix issue and checked in stackoverflow in that they put like need to reinstall docker but i am getting still issue please find my issue below.
ERROR: for cadvisor Cannot start service cadvisor: error while creating mount source path '/var/lib/docker': mkdir /var/lib/docker: read-only file system
ERROR: for cadvisor Cannot start service cadvisor: error while creating mount source path '/var/lib/docker': mkdir /var/lib/docker: read-only file system
ERROR: Encountered errors while bringing up the project.
Sir,
could you please let me know how to mapped the cadvisor, prometheus and grafana with domain...in prod env, normally we use domain instead of static IP and port number.
also could you please let me know how to get notification in email from cadvisor and prometheus when any container is hung or stuck or stopped running or restart, when CPU utilization is too high when it is set with a specific threshold
you can use the reverse proxy
Can we do monitor multiple servers plz help
👍
How to restart it
docker restart
Please learn got english nur nice video
your content is good but your tone is like you over react. you need to speak in normal tone
1 cadvisor.go:158] Failed to create a Container Manager: mountpoint for cpu not found