public class DefaultWebMvcTagsProvider extends Object implements WebMvcTagsProvider
WebMvcTagsProvider.| Constructor and Description |
|---|
DefaultWebMvcTagsProvider() |
| Modifier and Type | Method and Description |
|---|---|
Iterable<io.micrometer.core.instrument.Tag> |
getLongRequestTags(HttpServletRequest request,
Object handler)
Provides tags to be used by
long task timers. |
Iterable<io.micrometer.core.instrument.Tag> |
getTags(HttpServletRequest request,
HttpServletResponse response,
Object handler,
Throwable exception)
Provides tags to be associated with metrics for the given
request and
response exchange. |
public Iterable<io.micrometer.core.instrument.Tag> getTags(HttpServletRequest request, HttpServletResponse response, Object handler, Throwable exception)
WebMvcTagsProviderrequest and
response exchange.getTags in interface WebMvcTagsProviderrequest - the requestresponse - the responsehandler - the handler for the request or null if the handler is
unknownexception - the current exception, if anypublic Iterable<io.micrometer.core.instrument.Tag> getLongRequestTags(HttpServletRequest request, Object handler)
WebMvcTagsProviderlong task timers.getLongRequestTags in interface WebMvcTagsProviderrequest - the HTTP requesthandler - the handler for the request or null if the handler is
unknownCopyright © 2019 Pivotal Software, Inc.. All rights reserved.