Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

After upgrading to spring boot 2.7.0 the http_server_requests_seconds prometheus metric is missing. #3273

Closed
Thangaduraia opened this issue Jul 6, 2022 · 3 comments
Labels
duplicate A duplicate of another issue for: external-project For an external project and not something we can fix

Comments

@Thangaduraia
Copy link

Describe the bug
After upgrading the spring boot version to 2.7.0 TYPE http_server_requests_seconds summary is missing in metrics.

Environment

  • Micrometer version 1.9.0
  • Micrometer registry- prometheus
  • Java version: 11

To Reproduce
How to reproduce the bug:
Use spring boot version 2.7.0, micrometer version 1.9.0

Expected behavior
Expected the http_server_requests_seconds_count prometheus metric.
http_server_requests_seconds_count{exception="None",method="GET",outcome="SUCCESS",status="200",uri="/userInfo/",} 4.0 http_server_requests_seconds_sum{exception="None",method="GET",outcome="SUCCESS",status="200",uri="/userInfo/",} 0.051901905 http_server_requests_seconds_max{exception="None",method="GET",outcome="REDIRECTION",status="304",uri="/**",} 0.0

I am not able find any document related this change. Is additional config we need to do?

@izeye
Copy link
Contributor

izeye commented Jul 6, 2022

@Thangaduraia It seems to be a duplicate of spring-projects/spring-boot#31150. Could you try Spring Boot 2.7.1 to see if it fixes your issue?

@shakuzen shakuzen added duplicate A duplicate of another issue for: external-project For an external project and not something we can fix labels Jul 7, 2022
@shakuzen
Copy link
Member

shakuzen commented Jul 7, 2022

Duplicate of spring-projects/spring-boot#31150

@shakuzen shakuzen closed this as not planned Won't fix, can't repro, duplicate, stale Jul 7, 2022
@Thangaduraia
Copy link
Author

@shakuzen @izeye Thanks. After updating I can see the metric.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
duplicate A duplicate of another issue for: external-project For an external project and not something we can fix
Projects
None yet
Development

No branches or pull requests

3 participants