@groovy.transform.CompileStatic static class UrlMappingsHandlerMapping.ObservationRouteHandler extends java.lang.Object implements HandlerInterceptor
Sets the HTTP server observation's route from the matched controller/action, so the
http.server.requests uri tag is a low-cardinality route (e.g. /book/show)
instead of UNKNOWN. Runs at preHandle: at URL-mapping match the observation
context is not yet on the request.
| Constructor and description |
|---|
UrlMappingsHandlerMapping.ObservationRouteHandler() |
| Type Params | Return Type | Name and description |
|---|---|---|
|
boolean |
preHandle(HttpServletRequest request, HttpServletResponse response, java.lang.Object handler) |
| Methods inherited from class | Name |
|---|---|
class java.lang.Object |
java.lang.Object#equals(java.lang.Object), java.lang.Object#getClass(), java.lang.Object#hashCode(), java.lang.Object#notify(), java.lang.Object#notifyAll(), java.lang.Object#toString(), java.lang.Object#wait(), java.lang.Object#wait(long), java.lang.Object#wait(long, int) |