Node Application Monitoring with cAdvisor Prometheus and Grafana | part 1

แชร์
ฝัง
  • เผยแพร่เมื่อ 21 ธ.ค. 2024

ความคิดเห็น • 16

  • @evanugarte
    @evanugarte  ปีที่แล้ว

    all the code from the tutorials, parts 1-4 github.com/evanugarte/prometheus-monitoring-tutorial

  • @wrlakshan
    @wrlakshan 4 หลายเดือนก่อน

    The best video I've seen is related to Prometheus and Grafana. 😀

  • @kiranbakale8207
    @kiranbakale8207 4 หลายเดือนก่อน

    keep up the good work buddy

  • @fullstackprojects5615
    @fullstackprojects5615 2 ปีที่แล้ว +1

    Hello Thanks for the hands on demonstration! Could you please share the repo where we can reference the code?

    • @evanugarte
      @evanugarte  ปีที่แล้ว

      here it is github.com/evanugarte/prometheus-monitoring-tutorial

  • @princeonukwili996
    @princeonukwili996 10 หลายเดือนก่อน +1

    Just earned another subscriber 😉...

  • @fazaladil7905
    @fazaladil7905 2 ปีที่แล้ว

    Hi evan my prometheus is up and running. On 11:44 i typed container_memory_usage_bytes on the Expression tab but there's nothing, not even the suggested field being listed down, what step did i missed?

    • @evanugarte
      @evanugarte  2 ปีที่แล้ว

      you may need to adjust the mounted volumes for cadvisor / prometheus, check out part 3 of this tutorial here th-cam.com/video/xwmEdKKVkJM/w-d-xo.html
      specifically the "Changing mounts for cAdvisor / Prometheus containers" section, let me know if it helps

    • @fazaladil7905
      @fazaladil7905 2 ปีที่แล้ว

      @@evanugarte I have done that part, for docker-compose.yml, added - /var/run/docker.sock:/var/run/docker.sock:rw on volume section. Also changed line 35 to - ./prometheus:/etc/prometheus:ro, then docker-compose --build
      Still nothing on the expression tab, i opened the Metrics Explorer beside the Execute button and there isn't much, only 5 scrape stuffs suggested... compared to your video that is full of lists

    • @evanugarte
      @evanugarte  2 ปีที่แล้ว

      @@fazaladil7905 are you sure the coin flip container is running and on the port you expect?
      also double check the targets section in prometheus.yml to ensure they match the coin flip container name and port

    • @fazaladil7905
      @fazaladil7905 2 ปีที่แล้ว

      @@evanugarte yes it's all up and running and the ports are the same, basically i typed 100% the same code as from your tutorial.
      can I have your telegram handle so i can ask you further there? 🙏

    • @evanugarte
      @evanugarte  2 ปีที่แล้ว

      @@fazaladil7905 sorry i don’t have telegram do you think we could resolve it here? maybe you need to recreate the containers with
      docker-compose up -force-recreate -build

  • @roberteee6211
    @roberteee6211 2 ปีที่แล้ว

    Hi, very nice video, i followed your tutorial and my prometheus service is working in my console log, but when i want to access the prometheus dash via my port, it cant open, in my express application im using a 'https' (not http) connection. i think thats the reason why its not working, it shows me in the browser 'err_ssl_protocol_error' do you know a workaround for this problem?

    • @evanugarte
      @evanugarte  2 ปีที่แล้ว

      is it possible you could use http? without an ssl certificate using https will cause the issue you found.

    • @roberteee6211
      @roberteee6211 2 ปีที่แล้ว

      @@evanugarteyea i removed the https connection, but for some reason the container for cadvisor dont work too, if i find the solution i let u know