βœ‚οΈΒ Spring Boot

Small information nuggets and recipies about Spring Boot


(most recent on top)

Actuator: Application Management Endpoints

curl http://localhost:8080/autoconfig
curl http://localhost:8080/beans
curl http://localhost:8080/configprops
curl http://localhost:8080/dump
curl http://localhost:8080/env
curl http://localhost:8080/health
curl http://localhost:8080/info
curl http://localhost:8080/mappings
curl http://localhost:8080/metrics
curl http://localhost:8080/shutdown          # disabled by default
curl http://localhost:8080/trace

… activate/deactivate configuration at application.properties

endpoints.health.id=status          # rename endpoint
endpoints.health.sensitive=true     # security requirement
endpoints.shutdown.enabled=true     # shutdown endpoint [default false]
endpoints.shutdown.sensitive=false  # shutdown endpoint [default true]
management.context-path=admin       # all accessible only via `/admin/`