Spring Boot Actuator does not show http.server.requests in metrics endpoint after spring-boot upgrade to 3.* #40511
Labels
status: feedback-reminder
We've sent a reminder that we need additional information before we can continue
status: waiting-for-feedback
We need additional information before we can continue
status: waiting-for-triage
An issue we've not yet triaged
I do have a spring boot project developed using Java 17 in which I am adding the spring boot actuator and Prometheus to use the metrics endpoint to analyze the API http.server.requests.
I do check metrics using http://localhost:8080/metrics I cannot find http.server.requests in response. It was working fine with the older spring-boot (2) version.
Java: openjdk 17.0.10
Dependencies
org.springframework.boot:spring-boot:3.1.10 (c)
org.springframework.boot:spring-boot-actuator:3.1.10 (c)
org.springframework.boot:spring-boot-actuator-autoconfigure:3.1.10 (c)
org.springframework.boot:spring-boot-starter:3.1.10 (c)
org.springframework.boot:spring-boot-starter-actuator:3.1.10 (c)
io.micrometer:micrometer-core:1.11.10 (c)
io.micrometer:micrometer-observation:1.11.10 (c)
io.micrometer:micrometer-registry-prometheus:1.11.10
Config
Please let me know if you need any additional info or logs.
The text was updated successfully, but these errors were encountered: