Spring Boot for Devops
summary
Spring Boot adds ready-made operational hooks: enable spring-boot-starter-actuator and get /metrics, /health and /info JSON endpoints plus HTTP status codes that flip to 5xx when a check fails. Embed build and Git data with git-commit-id-plugin into /info. Write custom checks by implementing HealthIndicator beans; expose Dropwizard metrics to JMX and push to Graphite (or use a JVM agent) from the MetricRegistry. Demo uses Spring PetClinic, shows readable JSON via spring.jackson.serialization.indent_output and moving endpoints under management.context-path — everything works in the demo with no extra application code.
AI-written summary · about
chapters (12)
- 0:00Introduction
- 2:28Story
- 6:20Monitoring
- 8:36Spring Pet Clinic
- 13:15Metadata
- 14:25Info endpoint
- 17:35Git repository plugin
- 22:15Health checks
- 25:40Dependencies
- 27:50Checks
- 31:15Metrics
- 38:55Graphite
related talks
47mSpring Boot Observability in Practice: Actuator, Micrometer & OpenTelemetry
01h 28mSpring Boot for DevOps
55mBootiful Spring Boot 3
52mMicroservices with Java, Spring Boot and Spring Cloud
58mObservability Beyond the three pillars with Spring
46mSpring Boot under the hood
49mMagical Beans and Mystery
55mDemystifying Observability for Spring Applications
