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

  1. Identify the server micro-service module (i.e. hms-eureka)
  2. Update pom.xml with required Boot Admin Server related dependencies (de.codecentric)
  3. Add Security Configuration class to allow the admin related URL paths
  4. Update application.yml with the required properties
  5. Identify the client micro-service module (i.e. hms-client-apis)
  6. Update pom.xml with required Boot Admin Client related dependencies
  7. Update application.yml with the required properties
  8. 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

  1. Checkout the repository
  2. Import the projects into STS workspace
  3. Do Maven -> Update project
  4. Do Maven build of all the micro-services modules
  5. Run each micro-service module from Boot Dashboard window
  6. Open Boot Admin in web browser with credentials as admin/admin

References

  1. Codecentric Documentation
  2. Notes from Baeldung tutorial site

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

Output Screens

Login

Login

Admin Wallboard

Wallboard

Health Info

Health Info

Logging Info

Logging Info

Logout

Logout