You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
In current Spring Boot version (2.0.3.RELEASE) configuration property management.metrics.web.server.auto-time-requests is not taken into account so it is not possible to disable automatic incoming HTTP request timing. It might be an issue if web application acts as a proxy (e.g. as in case of spring-cloud-gateway) and request URIs contain variables that are not replaced by placeholders. As a result metrics get accumulated (because there are separate metric instead of single one containing variable placeholder just as in case of Spring controllers) until OutOfMemoryError occurs.
Current workaround is to exclude org.springframework.boot.actuate.autoconfigure.metrics.web.reactive.WebFluxMetricsAutoConfiguration auto configuration.
Disabling auto request timing in case of reactive web application should work same as in case of servlet based web application (WebMvcMetricsAutoConfiguration).