Spring Boot 4 updates Micrometer to 1.16, which introduces SMTP-related metrics. This means that with some configuration tweaking, we can obtain these metrics with Spring Boot Actuator.
In this tutorial I'll cover why Spring boot actuator allows you to write proper production-grade Spring boot applications.
With Spring boot 2.0, the support for Micrometer made monitoring a lot easier. In this tutorial we'll see how we can use it with Grafana and Prometheus.