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

КОМЕНТАРІ • 38

  • @disharochlani5182
    @disharochlani5182 3 місяці тому

    Very well explained. The way you speak is tremendous

  • @K0TOXJle6
    @K0TOXJle6 3 роки тому +1

    Love the excited comments in video. Thank you.

  • @ShivSinghSengar7013
    @ShivSinghSengar7013 3 роки тому +3

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

  • @piccione_viaggiatore
    @piccione_viaggiatore 2 роки тому +1

    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)

  • @creekbeddigital
    @creekbeddigital 2 роки тому +1

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

  • @nirmalaasthana4964
    @nirmalaasthana4964 4 роки тому +1

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

  • @crimsontyphoon3420
    @crimsontyphoon3420 2 роки тому

    Like the enthusiasm of host

  • @EricDunn1234
    @EricDunn1234 4 роки тому +1

    Great stuff! Thanks

  • @seikatsu_ki
    @seikatsu_ki 7 місяців тому

    thanks bro

  • @Liv4IT
    @Liv4IT 4 роки тому +1

    Thanks for sharing ;-)

  • @dulcekaren2201
    @dulcekaren2201 3 роки тому +1

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

    • @Duhgy
      @Duhgy 2 роки тому

      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.

  • @mallikarjunkonemane6908
    @mallikarjunkonemane6908 9 місяців тому

    Can use the same for AWS ECS!??

  • @raviyadu5421
    @raviyadu5421 2 роки тому

    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 Рік тому +1

      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 10 місяців тому

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

  • @manikanthkommoju3176
    @manikanthkommoju3176 Рік тому

    diff between cadvisor & prometheus exporter. functionality wise

  • @AjayKumar-lm4yr
    @AjayKumar-lm4yr Рік тому

    please help on this:- cadvisor exited with code 255

  • @muhamadalfatih7375
    @muhamadalfatih7375 4 роки тому

    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.

  • @sasankirugu
    @sasankirugu 2 роки тому

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

  • @JuanaMeloUnicEducation
    @JuanaMeloUnicEducation 3 роки тому

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

    • @user-bq9cb1wm8p
      @user-bq9cb1wm8p 5 місяців тому

      Yes it works just try to find good image version

  • @imaualsikh7019
    @imaualsikh7019 4 роки тому

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

  • @iqrar318
    @iqrar318 4 роки тому

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

  • @gmvsunilkumar4971
    @gmvsunilkumar4971 4 роки тому

    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.

  • @tariquekhulakpam1380
    @tariquekhulakpam1380 3 роки тому

    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

  • @jeetu569
    @jeetu569 4 роки тому

    Can we do monitor multiple servers plz help

  • @venkateshbalaga891
    @venkateshbalaga891 2 роки тому

    👍

  • @pravatkumarNathSharma
    @pravatkumarNathSharma 3 роки тому

    How to restart it

  • @Jybbas
    @Jybbas 2 роки тому

    Please learn got english nur nice video

  • @muzammilhusainshaikh4077
    @muzammilhusainshaikh4077 2 роки тому

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

  • @AbdulRahim-lc6yb
    @AbdulRahim-lc6yb 10 місяців тому

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