Spring Boot Actuator provides several endpoints to monitor an application as:
/metrics /b
I use jq for pretty printing JSON as well as filtering it. It's basically sed for JSON. On the mac, it can be installed with homebrew. (https://stedolan.github.io/jq/)
jq
sed
curl http://localhost:8080/metrics | jq