Monitor spring-boot apps with actuator, micrometer, prometheus and grafana...
Monitor spring-boot apps with actuator, micrometer, prometheus and grafana…
./mvnw -f docker-compose -P postgres-start
./mvnw -f backend package jib:dockerBuild
./mvnw -f docker-compose -P backend-start,prometheus-start,grafana-start
curl -sS 0:8080 | jq '.'
http :8080 name=ololo
http :8080 name=trololo
http :8080
admin
/ admin
Add data source
prometheus
http://prometheus:9090
5s
Save & Test
Data source is working
Dashboards
tabhttp_server_requests_seconds_count
query
./mvnw -f docker-compose -P down