public class DefaultWebFluxTagsProvider extends java.lang.Object implements WebFluxTagsProvider
WebFluxTagsProvider.| 构造器和说明 |
|---|
DefaultWebFluxTagsProvider() |
DefaultWebFluxTagsProvider(boolean ignoreTrailingSlash) |
DefaultWebFluxTagsProvider(boolean ignoreTrailingSlash,
java.util.List<WebFluxTagsContributor> contributors)
Creates a new
DefaultWebFluxTagsProvider that will provide tags from the
given contributors in addition to its own. |
DefaultWebFluxTagsProvider(java.util.List<WebFluxTagsContributor> contributors)
Creates a new
DefaultWebFluxTagsProvider that will provide tags from the
given contributors in addition to its own. |
| 限定符和类型 | 方法和说明 |
|---|---|
java.lang.Iterable<io.micrometer.core.instrument.Tag> |
httpRequestTags(org.springframework.web.server.ServerWebExchange exchange,
java.lang.Throwable exception)
Provides tags to be associated with metrics for the given
exchange. |
public DefaultWebFluxTagsProvider()
public DefaultWebFluxTagsProvider(java.util.List<WebFluxTagsContributor> contributors)
DefaultWebFluxTagsProvider that will provide tags from the
given contributors in addition to its own.contributors - the contributors that will provide additional tagspublic DefaultWebFluxTagsProvider(boolean ignoreTrailingSlash)
public DefaultWebFluxTagsProvider(boolean ignoreTrailingSlash,
java.util.List<WebFluxTagsContributor> contributors)
DefaultWebFluxTagsProvider that will provide tags from the
given contributors in addition to its own.ignoreTrailingSlash - whether trailing slashes should be ignored when
determining the uri tag.contributors - the contributors that will provide additional tagspublic java.lang.Iterable<io.micrometer.core.instrument.Tag> httpRequestTags(org.springframework.web.server.ServerWebExchange exchange,
java.lang.Throwable exception)
WebFluxTagsProviderexchange.httpRequestTags 在接口中 WebFluxTagsProviderexchange - the exchangeexception - the current exception (may be null)