- devbox
$ devbox shell
$ ./mvnw spring-boot:run \
-Dspring.jmx.enabled=true \
-Dspring-boot.run.jvmArguments="-Dcom.sun.management.jmxremote \
-Dcom.sun.management.jmxremote.port=8086 \
-Dcom.sun.management.jmxremote.authenticate=false \
-Dcom.sun.management.jmxremote.ssl=false"
Launch the program to access the application. curl will also work.
curl http://localhost
Check with jmx and you will see a RANDOM number.
A detailed view of the metrics is described in tab.