Skip to content

Latest commit

 

History

History
39 lines (27 loc) · 686 Bytes

File metadata and controls

39 lines (27 loc) · 686 Bytes

spring-boot-actuator-example

This example demonstrates the use of

  • Spring boot actuator

  • Spring remote shell (Crash)

  • Custom crash command

  • /info page to include Build and git information

Metrics

Custom metrics, gauge used here http://localhost:8081/testMetric

and result displayed here http://localhost:8081/metrics

Remote shell

Usage

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