Seamless integration of Stagemonitor monitoring tool with Spring Boot application.
Useful if you don't want to require the developers to integrate Stagemonitor into the application.
Get all required Stagemonitor dependencies:
git clone https://github.com/felixbarny/stagemonitor-get-all-libs.git
cd stagemonitor-get-all-libs
./gradlew copyLibs -PstagemonitorVersion=[VERSION]
#replace [VERSION] with the version you want to use
Create configuration file stagemonitor.properties
or use the other available configuration options.
Put all the dependencies with configuration and integration jar on the classpath (-cp) or update application's jar:
jar uf0P application.jar -C /path-to-dependencies-and-configuration/ ./
Note: double check that dependencies are placed to
/lib
folder for Spring Boot version <= 1.3 and/BOOT-INF/lib
for Spring Boot version >= 1.4
Run the application as usual.