public class DefaultWebMvcTagsProvider extends Object implements WebMvcTagsProvider
WebMvcTagsProvider
.Constructor and Description |
---|
DefaultWebMvcTagsProvider() |
Modifier and Type | Method and Description |
---|---|
Iterable<io.micrometer.core.instrument.Tag> |
httpLongRequestTags(HttpServletRequest request,
Object handler)
Supplies default tags to long task timers.
|
Iterable<io.micrometer.core.instrument.Tag> |
httpRequestTags(HttpServletRequest request,
HttpServletResponse response,
Throwable ex)
Supplies default tags to the Web MVC server programming model.
|
public Iterable<io.micrometer.core.instrument.Tag> httpLongRequestTags(HttpServletRequest request, Object handler)
httpLongRequestTags
in interface WebMvcTagsProvider
request
- The HTTP request.handler
- The request method that is responsible for handling the request.public Iterable<io.micrometer.core.instrument.Tag> httpRequestTags(HttpServletRequest request, HttpServletResponse response, Throwable ex)
httpRequestTags
in interface WebMvcTagsProvider
request
- The HTTP request.response
- The HTTP response.ex
- The current exception, if anyCopyright © 2017 Pivotal Software, Inc.. All rights reserved.