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(javax.servlet.http.HttpServletRequest request,
Object handler)
Provides tags to be used by
long task timers . |
Iterable<io.micrometer.core.instrument.Tag> |
getTags(javax.servlet.http.HttpServletRequest request,
javax.servlet.http.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(javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response, Object handler, Throwable exception)
WebMvcTagsProvider
request
and
response
exchange.getTags
in interface WebMvcTagsProvider
request
- 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(javax.servlet.http.HttpServletRequest request, Object handler)
WebMvcTagsProvider
long task timers
.getLongRequestTags
in interface WebMvcTagsProvider
request
- the HTTP requesthandler
- the handler for the request or null
if the handler is
unknownCopyright © 2020 Pivotal Software, Inc.. All rights reserved.