Micrometer Articles
3 articles about Micrometer. Explore Spring Boot implementation, design, and operations across related topics.
-
How to Monitor HikariCP Connection Pool with Micrometer and Actuator in Spring Boot
Explains how to visualize the Micrometer metrics (active/idle/pending) exposed by HikariCP using Actuator and Prometheus, and how to design alerts that detect signs of connection exhaustion before a failure occurs.
-
How to Configure and Tune Caffeine Cache in Spring Boot - From expireAfterWrite and maximumSize to Production Operations with stats()
A practical guide to tuning Caffeine cache per-cache in Spring Boot. Covers the distinction between expireAfterWrite and expireAfterAccess, size management with maximumSize and Weigher, asynchronous refresh with refreshAfterWrite, and hit ratio monitoring with recordStats() and Micrometer — everything you need to know before going to production.
-
Visualizing Spring Boot Metrics with Prometheus and Grafana
A hands-on guide to collecting Spring Boot application metrics in Prometheus via Micrometer and visualizing them in real time on Grafana dashboards. Also covers custom metrics implementation examples (Counter and Gauge) and security considerations for production operation.