This project contains both the web site and the spring boot auto configuration. Check the vue and react demos.
<!-- choose between front type: vue or react -->
<dependency>
<groupId>com.github.fonimus</groupId>
<artifactId>actuator-site-spring-boot-vue</artifactId>
</dependency>
<!-- or -->
<dependency>
<groupId>com.github.fonimus</groupId>
<artifactId>actuator-site-spring-boot-react</artifactId>
</dependency>
Note:: auto configuration ActuatorSiteAutoConfiguration
can be deactivated by property actuator.site.enabled=false
Please check ActuatorSiteAutoConfiguration.kt for more information.
actuator:
site:
# set it to false to disable auto configuration
enabled: true
# path will be ${context-path}/${actuator-base-path}/site
site-path: /site
# if the actuator web site should be loaded form another directory, or if you want to use custom web site
resource-path: classpath:/webjars/actuator-site/
Sample with provided configuration application.yml.
-
Build sample application (use
react
profile to build sample with react dependency)mvn clean install [-DskipTests] [-P react]
-
Start application
java -jar sample/target/actuator-site-spring-boot-sample-[version].jar
-
Go to http://localhost:8080/actuator/site/ , with
user:password
authentication
- Small updates for vue front site
- Implement react with material ui
- Use vuetifyjs for vue front site
- Fix project without actuator dependency failure
- Fix health without details error
- Display home message if not endpoint available
- Add links to actuator endpoint
- First release