Fixes #18680
Comment From: patpatpat123
Hello Team,
I am currently using 2.4.1 recently released. The issue is still here I believe.
Created an out of the box Webflux project out of spring.io. No @Timed annotation, can see the usual
# TYPE http_server_requests_seconds summary
http_server_requests_seconds_count{exception="None",method="POST",outcome="SUCCESS",status="200",uri="/myRoute",} 1.0
http_server_requests_seconds_sum{exception="None",method="POST",outcome="SUCCESS",status="200",uri="/myRoute",} 0.610389546
# HELP http_server_requests_seconds_max
# TYPE http_server_requests_seconds_max gauge
http_server_requests_seconds_max{exception="None",method="POST",outcome="SUCCESS",status="200",uri="/myRoute",} 0.610389546
However, annotated my controller with @Timed("pleasefindme") and getting the exact same under /prometheus endpoint.
A little help please? Thank you
Comment From: snicoll
@patpatpat123 please stop pasting the same comment on several issues.
Comment From: philwebb
Thanks very much @anshlykov, this has now been merged to master and will be in Spring Boot 2.5
Comment From: philwebb
Reopening to update the docs at https://docs.spring.io/spring-boot/docs/current-SNAPSHOT/reference/htmlsingle/#production-ready-metrics-web-flux
Comment From: patpatpat123
Many thanks all. good day!