Your Data, Your Rules: Tailoring application metrics with Micrometer
summary
Builds a small pastry-shop microservice that registers a Micrometer counter in a MeterRegistry and increments on each order, exposing metrics via Spring Boot Actuator. Runs a Docker stack with Prometheus scraping the /metrics endpoint and Grafana visualizing trends; the live demo shows a metric value reaching 28 orders and a dashboard threshold that flips red at 20, with expected scraping lag. Code and Docker compose are available on GitHub so the setup actually runs.
AI-written summary · about
chapters (6)
- 0:00Introduction and motivation
- 3:15Setting up Micrometer in Spring Boot
- 6:26Using counters for business metrics
- 7:08Integrating Prometheus and Grafana
- 9:47Live demo of metrics visualization
- 11:00Conclusion and call to action
related talks
38mObservability 101 with Spring and Micrometer
59mTo Production and Beyond: Observability for Modern Spring Aps
55mDemystifying Observability for Spring Applications
58mObservability Beyond the three pillars with Spring
47mSpring Boot Observability in Practice: Actuator, Micrometer & OpenTelemetry
59mEfficient web apps with spring boot 2
48mSpring Boot for Devops
51mJava-based microservices, containers, Kubernetes - how to
