public class DefaultWebFluxTagsProvider extends java.lang.Object implements WebFluxTagsProvider
WebFluxTagsProvider.| Constructor and Description |
|---|
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. |
| Modifier and Type | Method and Description |
|---|---|
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 in interface WebFluxTagsProviderexchange - the exchangeexception - the current exception (may be null)