-
Start Prometheus -
IN PROGRESS
docker run -d --name prometheus -v $DOCKER_HOST_CONFIG/prometheus/prometheus.yml:/etc/prometheus/prometheus.yml -v $DOCKER_HOST_DATA/prometheus:/prometheus -p 9090:9090 prom/prometheus --config.file=/etc/prometheus/prometheus.yml
-
Start Grafana -
IN PROGRESS
docker run -d --name grafana --restart always -v $DOCKER_HOST_DATA/grafana:/var/lib/grafana -e GF_USERS_ALLOW_SIGN_UP=$GF_USERS_ALLOW_SIGN_UP -e GF_SECURITY_ADMIN_PASSWORD=$GF_SECURITY_ADMIN_PASSWORD -p 3000:3000 grafana/grafana
-
Start Boot Admin server
cd ./spring-boot-admin-server mvnw clean spring-boot:run
-
Start application
cd ./spring-boot-actuator mvnw clean spring-boot:run
- implement micrometer with prometheus and grafana
- integrate sleuth for tracing
- expose logs (?)
- http://www.baeldung.com/spring-boot-actuators
- http://www.baeldung.com/spring-boot-shutdown
- https://spring.io/blog/2017/08/22/introducing-actuator-endpoints-in-spring-boot-2-0
- https://docs.spring.io/spring-boot/docs/current/reference/html/production-ready-endpoints.html
- https://docs.spring.io/spring-boot/docs/current/reference/html/howto-build.html#howto-git-info
- http://www.briansjavablog.com/2017/09/health-checks-metric-s-more-with-spring.html
- https://www.infoq.com/presentations/spring-boot-actuator
- https://www.youtube.com/watch?v=hieLEsp5cTk
- http://www.baeldung.com/spring-email
- https://aboullaite.me/spring-boot-monitoring-prometheus-grafana/
- http://blog.monkey.codes/actuator-and-prometheus/
- https://github.com/spring-projects/spring-boot/tree/master/spring-boot-samples/spring-boot-sample-actuator
- https://github.com/aboullaite/spring-boot-prometheus
- https://github.com/monkey-codes/spring-boot-restful
- https://gist.github.com/monkey-codes/65a3464537ca2b786215b47fe06104da
- https://hub.docker.com/r/grafana/grafana/
- https://grafana.com/dashboards
- https://ops.tips/blog/initialize-grafana-with-preconfigured-dashboards/
- https://github.com/cirocosta/sample-grafana/blob/master/grafana/Dockerfile
- http://docs.grafana.org/v5.0/administration/provisioning/#dashboards