Spring Boot Actuator provides several endpoints to monitor an application as:
/metrics /b
I use Python's commonly installed json.tool module:
json.tool
curl --silent http://localhost:8080/metrics | python -mjson.tool