Тёмный

Node Application Monitoring with cAdvisor Prometheus and Grafana | part 1 

Подписаться
Просмотров 7 тыс.
% 134

0:00 Intro
0:44 Recap of express tutorial
1:40 Creating a Dockerfile for the Node server
3:17 Creating a docker-compose.yml file
5:04 Defining cAdvisor container
7:58 Defining Prometheus container with configs
11:27 Exploring Prometheus dashboard
14:18 Defining Grafana container
22:07 Exploring Grafana dashboard
25:00 Creating a default dashboard in Grafana
Previous Node tutorial: ru-vid.com/video/%D0%B2%D0%B8%D0%B4%D0%B5%D0%BE-H4c6woZbPKo.html

Наука

Опубликовано:

 

16 фев 2022

Поделиться:

Ссылка:

Скачать:

Готовим ссылку...

Добавить в:

Мой плейлист
Посмотреть позже
Комментарии : 16   
@evanugarte
@evanugarte Год назад
all the code from the tutorials, parts 1-4 github.com/evanugarte/prometheus-monitoring-tutorial
@wrlakshan
@wrlakshan 2 месяца назад
The best video I've seen is related to Prometheus and Grafana. 😀
@kiranbakale8207
@kiranbakale8207 2 месяца назад
keep up the good work buddy
@princeonukwili996
@princeonukwili996 7 месяцев назад
Just earned another subscriber 😉...
@fullstackprojects5615
@fullstackprojects5615 Год назад
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
@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 ru-vid.com/video/%D0%B2%D0%B8%D0%B4%D0%B5%D0%BE-xwmEdKKVkJM.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