Mastering Micrometer in Spring Boot: Metrics, Prometheus & Observability Explained josedacruz, June 8, 2025June 8, 2025 📄 Description In this video, you’ll master Micrometer, the observability library that powers metrics in Spring Boot and modern Java applications. ✅ Understand what Micrometer is and how it works behind the scenes✅ Learn to instrument your own code using Counters, Gauges, Timers, and Tags✅ Integrate Micrometer with Spring Boot Actuator✅ Export metrics to Prometheus with a clean /actuator/prometheus endpoint✅ Set up Prometheus in Docker with a working prometheus.yml✅ Query metrics using PromQL for real-time insights✅ Use the @Observed annotation in Spring Boot 3+ for automatic instrumentation✅ Avoid common pitfalls like high cardinality and performance overhead✅ Explore best practices for scalable and maintainable observability If you’re building monoliths, microservices, or distributed systems, this session gives you a full picture of how to integrate, export, and analyze your application’s health and behavior using Micrometer and Prometheus. ⏱️ Timestamps 00:00 – Intro01:12 – What is Micrometer?04:30 – Core Concepts: Meter, Registry, Tags, Observations07:14 – Using Micrometer in Plain Java Applications10:12 – Other Micrometer Export Options11:16 – Spring Boot Actuator + Micrometer13:57 – Exposing Metrics to Prometheus14:50 – Use of Prometheus18:31 – Common Patterns in Micrometer19:40 – Patterns: Counter, Gauge, Timer, Tags22:53 – Solving Common Challenges27:03 – Architecture: From JVM to Dashboards28:19 – Summary and Best Practices30:37 – Micrometer, Prometheus, and Spring Boot in Action Related metrics observability