Skip to content

refactorizando-web/metrics-prometheus

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Spring Boot Actuator with Grafana and Prometheus

Introduction

The objective of this example is to visualize Spring Boot Actuator Prometheus metrics in Grafana, which are previously dumped into Prometheus.

The Spring Boot application is a simple example of Spring Boot Actuator with all the endpoints enabled within the application.properties file.

Post

Configuration

In the configuration folder, you have the Docker commands to download Prometheus and Grafana. In the configuration folder, you have the prometheus.yml file required to start Prometheus.

Prometheus start at localhost:9090 Grafana start at localhost:3000.

How does it run?

git clone https://github.com/refactorizando-web/metrics-prometheus.git

mvn spring-boot:run

The application start at localhost:8080

[]: https://refactorizando.com/spring-boot-actuator-prometheus-grafana/

About

Grafana metrics with prometeus in Spring Boot Actuator

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages