Skip to content
José da Cruz

Enterprise Architect, and Life Thinker

José da Cruz

Enterprise Architect, and Life Thinker

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 – Intro
01:12 – What is Micrometer?
04:30 – Core Concepts: Meter, Registry, Tags, Observations
07:14 – Using Micrometer in Plain Java Applications
10:12 – Other Micrometer Export Options
11:16 – Spring Boot Actuator + Micrometer
13:57 – Exposing Metrics to Prometheus
14:50 – Use of Prometheus
18:31 – Common Patterns in Micrometer
19:40 – Patterns: Counter, Gauge, Timer, Tags
22:53 – Solving Common Challenges
27:03 – Architecture: From JVM to Dashboards
28:19 – Summary and Best Practices
30:37 – Micrometer, Prometheus, and Spring Boot in Action

Related

metrics observability

Post navigation

Previous post
Next post

Leave a Reply Cancel reply

Your email address will not be published. Required fields are marked *

  • architecture (167)
  • artificial-intelligence (6)
  • books (2)
  • courses (4)
  • decision-frameworks (4)
  • finances (1)
  • java (8)
  • life-improvement (20)
  • metrics (3)
  • observability (2)
  • puzzles and challenges (3)
  • reviews (1)
  • security (8)
  • Soft Skills (1)
  • spring-boot (36)
  • Systems Thinking (3)
  • GitHub Weekly: AI Agent Tools Trending Right Now (November 2 – November 8, 2026)
  • Designing a Distributed Session Store: Why Sticky Sessions Break Under Load
  • Essential Reading: Release It! — Why Production Is a Different Game Than Development
  • GitHub Weekly: Top 10 Trending Repos (October 26 – November 1, 2026)
  • GitHub Weekly: Architecture & Infra Tools Worth a Look (October 19 – October 25, 2026)
©2026 José da Cruz | WordPress Theme by SuperbThemes