Docker Monitoring using cAdvisor Prometheus & Grafana

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.networknuts.net
Our facebook - / networknuts
Our Instagram - / networknuts

Пікірлер: 38

  • @disharochlani5182
    @disharochlani5182Ай бұрын

    Very well explained. The way you speak is tremendous

  • @K0TOXJle6
    @K0TOXJle63 жыл бұрын

    Love the excited comments in video. Thank you.

  • @creekbeddigital
    @creekbeddigital2 жыл бұрын

    Thank you for this video! Exactly what I needed to get started

  • @ShivSinghSengar7013
    @ShivSinghSengar70133 жыл бұрын

    godspeed!!!! man i like the excitement in ur voice :)

  • @EricDunn1234
    @EricDunn12343 жыл бұрын

    Great stuff! Thanks

  • @piccione_viaggiatore
    @piccione_viaggiatore Жыл бұрын

    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)

  • @networknutsdotnet

    @networknutsdotnet

    Жыл бұрын

    Glad we could help

  • @UnderratedMomentsfromStarWars

    @UnderratedMomentsfromStarWars

    Жыл бұрын

    what image did you use instead?

  • @nirmalaasthana4964
    @nirmalaasthana49644 жыл бұрын

    Sir pls explore all topics of docker, u r explanation is really east and good

  • @crimsontyphoon3420
    @crimsontyphoon34202 жыл бұрын

    Like the enthusiasm of host

  • @Liv4IT
    @Liv4IT4 жыл бұрын

    Thanks for sharing ;-)

  • @seikatsu_ki
    @seikatsu_ki5 ай бұрын

    thanks bro

  • @iqrar318
    @iqrar3183 жыл бұрын

    can we measure energy consumption of docker container using prometheus and grafana?

  • @jeetu569
    @jeetu5694 жыл бұрын

    Can we do monitor multiple servers plz help

  • @mallikarjunkonemane6908
    @mallikarjunkonemane69088 ай бұрын

    Can use the same for AWS ECS!??

  • @imaualsikh7019
    @imaualsikh70194 жыл бұрын

    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???

  • @muhamadalfatih7375
    @muhamadalfatih73753 жыл бұрын

    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.

  • @AjayKumar-lm4yr
    @AjayKumar-lm4yr Жыл бұрын

    please help on this:- cadvisor exited with code 255

  • @sasankirugu
    @sasankirugu Жыл бұрын

    How do I get the exact name of the container instead of the docker id?

  • @dulcekaren2201
    @dulcekaren22013 жыл бұрын

    thanks for sharing this, one query, why is not Grafana getting the information directly from CAdvisor instead of prometheus?

  • @Duhgy

    @Duhgy

    Жыл бұрын

    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.

  • @raviyadu5421
    @raviyadu5421 Жыл бұрын

    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.

  • @dhananjaimvpai

    @dhananjaimvpai

    Жыл бұрын

    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

  • @dhananjaimvpai

    @dhananjaimvpai

    9 ай бұрын

    @@rajarajanrajagopalan is it only for cadvisor? are the other containers running as expected?

  • @manikanthkommoju3176
    @manikanthkommoju3176 Жыл бұрын

    diff between cadvisor & prometheus exporter. functionality wise

  • @JuanaMeloUnicEducation
    @JuanaMeloUnicEducation3 жыл бұрын

    will the cAdvisor image works with ARM (RASP Pi 4) installation?

  • @user-bq9cb1wm8p

    @user-bq9cb1wm8p

    3 ай бұрын

    Yes it works just try to find good image version

  • @tariquekhulakpam1380
    @tariquekhulakpam13803 жыл бұрын

    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

  • @ManishSalaria

    @ManishSalaria

    2 жыл бұрын

    you can use the reverse proxy

  • @gmvsunilkumar4971
    @gmvsunilkumar49713 жыл бұрын

    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.

  • @venkateshbalaga891
    @venkateshbalaga8912 жыл бұрын

    👍

  • @pravatkumarnathsharma3066
    @pravatkumarnathsharma30663 жыл бұрын

    How to restart it

  • @LifeForFap

    @LifeForFap

    2 жыл бұрын

    docker restart

  • @Jybbas
    @Jybbas2 жыл бұрын

    Please learn got english nur nice video

  • @muzammilhusainshaikh4077
    @muzammilhusainshaikh40772 жыл бұрын

    your content is good but your tone is like you over react. you need to speak in normal tone

  • @AbdulRahim-lc6yb
    @AbdulRahim-lc6yb8 ай бұрын

    1 cadvisor.go:158] Failed to create a Container Manager: mountpoint for cpu not found