public interface WebMvcTagsProvider
Tags for Spring MVC-based request handling.| Modifier and Type | Method and Description |
|---|---|
java.lang.Iterable<io.micrometer.core.instrument.Tag> |
getLongRequestTags(javax.servlet.http.HttpServletRequest request,
java.lang.Object handler)
Provides tags to be used by
long task timers. |
java.lang.Iterable<io.micrometer.core.instrument.Tag> |
getTags(javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response,
java.lang.Object handler,
java.lang.Throwable exception)
Provides tags to be associated with metrics for the given
request and
response exchange. |
java.lang.Iterable<io.micrometer.core.instrument.Tag> getTags(javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response,
java.lang.Object handler,
java.lang.Throwable exception)
request and
response exchange.request - the requestresponse - the responsehandler - the handler for the request or null if the handler is
unknownexception - the current exception, if anyjava.lang.Iterable<io.micrometer.core.instrument.Tag> getLongRequestTags(javax.servlet.http.HttpServletRequest request,
java.lang.Object handler)
long task timers.request - the HTTP requesthandler - the handler for the request or null if the handler is
unknown