This example demonstrates the use of
-
Spring boot actuator
-
Spring remote shell (Crash)
-
Custom crash command
-
/info page to include Build and git information
Custom metrics, gauge used here http://localhost:8081/testMetric
and result displayed here http://localhost:8081/metrics
Connect to actuator using
ssh -p 2000 user@localhost
Test a custom crash command :
help
ExampleCommand -h
ExampleCommand current-thread
ExampleCommand version -c ALL
````
Helper endpoints to test the dashboard command :
http://localhost:8081/dashboard/deadlock
http://localhost:8081/dashboard/sleep