I have issue in Spring Actuator. The metrics not display data, like with attachment image SpringBoot Metrics empty data with Spring Boot and Actuator

I use JDK 8 with Spring boot version 2.5.5, and I don't use Spring data or JPA, just Spring boot + Actuator + Web only.

Please check my test source code project, don't worry its just test project as scratch Spring boot project. com.test.spring.metric.zip

Comment From: ahmedju

I was misunderstand the Metrics.

This link: http://localhost:8080/actuator/metrics

its just display keys of metrics, not info of them. We need to take the key and put it in the other URL, like below:

http://localhost:8080/actuator/metrics/http.server.requests