Skip to content

Isakots/metrics-visualization-poc

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Metrics POC

Requirements

  • JDK17
  • Maven
  • PostgreSQL DB with created Database: metrics_poc
  • Docker

Run

Spring Boot app

mvn spring-boot:run

App will be available on localhost:8080

Prometheus

cd ./metrics/prometheus
docker-compose up

Prometheus will be available on localhost:9090

Check if Spring Boot metrics are available: localhost:9090/targets

Grafana

cd ./metrics/grafana
docker-compose up

Grafana is available on localhost:3000
Default credentials: admin:admin

Configure datasource with url: http://prometheus:9090

About

Simple project to learn the mechanism of Spring Metrics

Resources

Stars

Watchers

Forks

Languages