Тёмный

How to Monitor Spring Boot Application With Prometheus and Grafana 

Refactor First
Подписаться 2,8 тыс.
Просмотров 18 тыс.
50% 1

In this video, we will be exploring how we can monitor our spring boot application using Prometheus and Grafana.
We would gather information using Prometheus and then visualise the data on a Grafana dashboard.
Here is is a link to a community provided dashboard: grafana.com/grafana/dashboard...
If you find problems working the dashboard, you can always refer to my Github repo. Link is present in the article on my website refactorfirst.com : refactorfirst.com/spring-boot...
You can support me by buying me a coffee 😄 : www.buymeacoffee.com/amrutprabhu
Gear I use:
Sony Alpha a6000 : Amazon India : amzn.to/3RM7QMJ
Germany : amzn.to/3G1Iw24
US : amzn.to/3cpKZ9E
UK : amzn.to/3J0g5Ry
Razer Microphone : Amazon India : amzn.to/3aQxI9C
Germany : amzn.to/3DRRrAh
US : amzn.to/3ITKu3Q
UK : amzn.to/3v3RHbU
------Chapters----
00:00 - Introduction
00:39 - Creating Application
01:25 - Code Walkthrough
02:04 - Prometheus Configuration
02:27 - Starting Application
02:40 - Understanding Prometheus Metrics Endpoint
03:30 - Prometheus Docker Compose Configuration
04:20 - Understanding Prometheus Configuration
05:40 - Understanding Node Exporter
06:10 - Starting Prometheus Docker Compose
06:32 - Using Prometheus Interface
06:42 - Understanding Prometheus Use
08:04 - Grafana Docker Compose Configuration
08:40 - Starting Grafana Docker Compose
09:11 - Adding Prometheus Data Source
09:35 - Creating Grafana Dashboard
09:45 - Creating and Understanding Grafana Query
10:28 - Creating Grafana DashBoard with Log Query
11:55 - Grafana Rate Query
13:05 - Full Fledged Spring Boot DashBoard
14:22 - Conclusion
Music Credits:-
Sappheiros - Rain
----------------------------
/ rain1
Social Media
RU-vid / sappheiros
Spotify goo.gl/hE9MDJ
Twitter SappheirosMusic
Instagram sappheirosmusic
Facebook SappheirosMusic
Discord discord.gg/Pk87yN9
----------------------------------------------------------

Наука

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

 

3 авг 2024

Поделиться:

Ссылка:

Скачать:

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

Добавить в:

Мой плейлист
Посмотреть позже
Комментарии : 27   
@riteshlenka6871
@riteshlenka6871 2 года назад
Please keep uploading these type of very informative video. you deserve more subs. Thanks God, I found your channel.
@yogeshkatkar2857
@yogeshkatkar2857 9 месяцев назад
Great video for starting with spring-boot, prometheus and grafana integration
@RANKAPADI
@RANKAPADI Год назад
Very nicely explained... Keep on sharing your valuable knowledge...
@blessycheriyan5870
@blessycheriyan5870 Год назад
its very interesting topics, I tried and its working fine in my case anyway thank you for uploading such valuable & informative session ,waiting for further videos ,Still waiting
@khadijakaimous656
@khadijakaimous656 Год назад
Amazing explanation keep going
@dautofreitas8318
@dautofreitas8318 Месяц назад
Thank you, excellent video.
@buntykumar7270
@buntykumar7270 6 месяцев назад
Very informative video
@jessepinkman725
@jessepinkman725 2 года назад
Awesome
@MdZakaria-dd8mh
@MdZakaria-dd8mh Год назад
Hi Sir, Great Video learnt a lot from it. Need a help , getting error while connect prometheus with grafana Error message: "Error reading Prometheus: An error occurred within the plugin"
@cooltechie2193
@cooltechie2193 Месяц назад
Can u guide me how to monitor rmq using prometheus and grafana
@saidmzee4107
@saidmzee4107 2 месяца назад
hello how can I make prometheus to not include its requests on the total number of requests made to the application, to only scrape the requests that have hit the application endpoints and not /actuator/prometheus
@ahmadkabeer8275
@ahmadkabeer8275 Год назад
Please provide the project git url?
@sirojiddingroup
@sirojiddingroup Год назад
why didn't show this data directory wwhich is the create
@user-dj8lr9ig1b
@user-dj8lr9ig1b Год назад
I followed the configurations, but when I hit /actuator/prometheus it is just a blank page.... I checked that I have the dependencies needed
@RefactorFirst
@RefactorFirst Год назад
Can you download my project and try?
@rakeshav9098
@rakeshav9098 11 месяцев назад
Hi, Actually docker compose up is keep running more than two hours for this prometheus and grafana. do i have to stop and run again or can i wait till the docker compose command completes. please confirm. Thanks in advance for your support. - Rakesh
@RefactorFirst
@RefactorFirst 11 месяцев назад
The docker compose command is to run the docker images. You have to make them stop running with the command docker compose down.
@rakeshav9098
@rakeshav9098 11 месяцев назад
any help on this would be greatly appreciated. Please help
@RefactorFirst
@RefactorFirst 11 месяцев назад
I gave you the command to run. Its docker compose down.
@rakeshav9098
@rakeshav9098 10 месяцев назад
@@RefactorFirst sir.. thank you.. i have implemented the same without docker by installing prometheus and grafana in local system
@ashutoxh
@ashutoxh Год назад
Your discord invite has expired, I am facing issues with prometheus.
@RefactorFirst
@RefactorFirst Год назад
I don't have a discord server..
@ashutoxh
@ashutoxh Год назад
@@RefactorFirst Oh, my bad. I misread the description.
@Romigo4
@Romigo4 Год назад
Hello, thanks for the video. Actually I cloned your repository and found out some issue. You have in prometheus.yml a target as - job_name: 'Spring Boot Application input' metrics_path: '/actuator/prometheus' scrape_interval: 2s static_configs: - targets: ['localhost:8000'] but the default port of a spring boot application is 8080 ? and nonetheless I can't see any app or instance in grafana ? Even if I changed the port in targets to 8080 ?
@RefactorFirst
@RefactorFirst Год назад
I fixed the prometheus config now to reflect the correct URL. Thanks for this. Regarding the data not avaiable, have you configured prometheus datasource in grafana?
Далее
How To Create Kubernetes Controller Using Spring Boot
10:52
Ютуб был хороший...
00:52
Просмотров 374 тыс.
Server Monitoring with Grafana Prometheus and Loki
51:44
Server Monitoring // Prometheus and Grafana Tutorial
24:36
Setup alerts in Grafana 10 with example
27:33
Просмотров 17 тыс.
АЙФОН Г0ВН0
0:54
Просмотров 1,7 млн
Опасная беспроводная зарядка
1:00
iPhone socket cleaning #Fixit
0:30
Просмотров 18 млн
iPhone socket cleaning #Fixit
0:30
Просмотров 18 млн