@NonNullApi
public interface WebMvcTagsProvider
Tags
for Spring MVC-based request handling.Modifier and Type | Method and Description |
---|---|
java.lang.Iterable<io.micrometer.core.instrument.Tag> |
httpLongRequestTags(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> |
httpRequestTags(javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response,
java.lang.Object handler,
java.lang.Throwable ex)
Provides tags to be associated with metrics for the given
request and
response exchange. |
@NonNull java.lang.Iterable<io.micrometer.core.instrument.Tag> httpLongRequestTags(@Nullable javax.servlet.http.HttpServletRequest request, @Nullable java.lang.Object handler)
long task timers
.request
- the HTTP requesthandler
- the handler for the request@NonNull java.lang.Iterable<io.micrometer.core.instrument.Tag> httpRequestTags(@Nullable javax.servlet.http.HttpServletRequest request, @Nullable javax.servlet.http.HttpServletResponse response, @Nullable java.lang.Object handler, @Nullable java.lang.Throwable ex)
request
and
response
exchange.request
- the requestresponse
- the responsehandler
- the handler for the requestex
- the current exception, if any