Metrics
Learn Metrics (Logging & Monitoring, Spring MVC) with worked examples, diagrams and interview questions. Free on JavaSchoolLab.
Fresher Notes Metrics are numeric measurements of a running application (request count, latency, memory, pool usage); Spring Boot uses Micrometer as the facade, much like SLF4J for logging. MeterRegistry is the central bean; you create meters from it: Counter (only goes up), Gauge (current value) and Timer (duration and count). Automatic : with Actuator, MVC requests are recorded as http.server.requests , and JVM, CPU and datasource metrics are added too.