Spring Boot Admin Documentation - gokulanviswanathan/Spring-Boot-Admin GitHub Wiki
Page overview
This page provides overall information about Spring Boot Admin tool
Why Spring Boot Admin
Today, we use simple version of Eureka Dashboard to know the statistics about the micro-services that are registered under Eureka
So Engineering folks from CodeCentric developed a tool named Spring Boot Admin to know more statistics in terms of Hosted server health, JVM health etc. Basically, its a single tool allowing Support Specialists / Senior Engineers to monitor the application 24/7
Implementation Insights
- Identify the server micro-service module (i.e. hms-eureka)
- Update pom.xml with required Boot Admin Server related dependencies (de.codecentric)
- Add Security Configuration class to allow the admin related URL paths
- Update application.yml with the required properties
- Identify the client micro-service module (i.e. hms-client-apis)
- Update pom.xml with required Boot Admin Client related dependencies
- Update application.yml with the required properties
- Allow actuator URI path in Security Configuration class
Running this code in Development Environment
Code is runnable on a standalone PC having Java 1.8, STS IDE, MySQL
- Checkout the repository
- Import the projects into STS workspace
- Do Maven -> Update project
- Do Maven build of all the micro-services modules
- Run each micro-service module from Boot Dashboard window
- Open Boot Admin in web browser with credentials as admin/admin
References
Courtesy
Banner text of the projects created using devops.datenkollektiv.de
Out of Scope
Part of test coverage, JUnit test cases will be added to this repository later in sometime