I have both Jersey and Spring MVC in classpath (actuators are using Spring MVC and the rest of application uses Jersey).
When I enable management.metrics.web.server.auto-time-requests only Spring MVC requests are metered - so in my case only actuators (I think), I see only following links:
UNKNOWN
NOT_FOUND
/**
/health
/info
root
(I have no idea what a root, UNKNOWN, NOT_FOUND, /** or root urls are, I don't have those in my application, all links in my application start with /v1 or /v2).
I suggest to split the management.metrics.web.server.auto-time-requests to be technology specific so I can enable either Jersey or Spring MVC.
Something like:
management.metrics.web.server.jersey.auto-time-requests
management.metrics.web.server.spring-mvc.auto-time-requests
I hope the @Timed works in such case, so I can have Spring MVC and I can annotate Jersey controllers and get the metrics.
Spring Boot version 2.1.6.