How to Monitor Spring Boot Application With Prometheus and Grafana

preview_player
Показать описание
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.

Gear I use:

-------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
----------------------------
Social Media
----------------------------------------------------------
Рекомендации по теме
Комментарии
Автор

Please keep uploading these type of very informative video. you deserve more subs. Thanks God, I found your channel.

riteshlenka
Автор

Great video for starting with spring-boot, prometheus and grafana integration

yogeshkatkar
Автор

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

blessycheriyan
Автор

Very nicely explained... Keep on sharing your valuable knowledge...

RANKAPADI
Автор

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"

MdZakaria-ddmh
Автор

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

saidmzee
Автор

Can u guide me how to monitor rmq using prometheus and grafana

cooltechie
Автор

I followed the configurations, but when I hit /actuator/prometheus it is just a blank page.... I checked that I have the dependencies needed

ttt-eqt
Автор

why didn't show this data directory wwhich is the create

sirojiddingroup
Автор

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

rakeshav
Автор

Your discord invite has expired, I am facing issues with prometheus.

ashutoxh
Автор

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 ?

Romigo