Skip to content

Demo project that shows how to monitor Spring Boot applications with Prometheus and Grafana

Notifications You must be signed in to change notification settings

vsoltys/demo-micrometer-prometheus-grafana

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Monitoring Spring Boot Applications with Prometheus and Grafana

This small demo project contains an example setup of Prometheus and Grafana to monitor Spring Boot applications.

The project contains a default Grafana Prometheus datasource and scrapes the Spring Boot project and Prometheus server for monitoring information.

If you want to login to Grafana you can use the admin / password combination.

For monitoring Spring Boot applications I highly recommend the JVM Micrometer dashboard created by Michael Weirauch.

Building the project

First build the spring boot application.

mvn clean package

Now when the application has been build we can start running our services by running:

docker-compose up

After all services have started successfully, you can navigate to the following urls:

About

Demo project that shows how to monitor Spring Boot applications with Prometheus and Grafana

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Java 84.0%
  • Dockerfile 16.0%