Class DefaultWebFluxTagsProvider
java.lang.Object
org.springframework.boot.actuate.metrics.web.reactive.server.DefaultWebFluxTagsProvider
- All Implemented Interfaces:
WebFluxTagsProvider
@Deprecated(since="3.0.0",
forRemoval=true)
public class DefaultWebFluxTagsProvider
extends Object
implements WebFluxTagsProvider
Deprecated, for removal: This API element is subject to removal in a future version.
Default implementation of
WebFluxTagsProvider
.- Since:
- 2.0.0
- Author:
- Jon Schneider, Andy Wilkinson
-
Constructor Summary
ConstructorDescriptionDeprecated, for removal: This API element is subject to removal in a future version.DefaultWebFluxTagsProvider
(boolean ignoreTrailingSlash) Deprecated, for removal: This API element is subject to removal in a future version.DefaultWebFluxTagsProvider
(boolean ignoreTrailingSlash, List<WebFluxTagsContributor> contributors) Deprecated, for removal: This API element is subject to removal in a future version.Creates a newDefaultWebFluxTagsProvider
that will provide tags from the givencontributors
in addition to its own.DefaultWebFluxTagsProvider
(List<WebFluxTagsContributor> contributors) Deprecated, for removal: This API element is subject to removal in a future version.Creates a newDefaultWebFluxTagsProvider
that will provide tags from the givencontributors
in addition to its own. -
Method Summary
Modifier and TypeMethodDescriptionIterable<io.micrometer.core.instrument.Tag>
httpRequestTags
(ServerWebExchange exchange, Throwable exception) Deprecated, for removal: This API element is subject to removal in a future version.Provides tags to be associated with metrics for the givenexchange
.
-
Constructor Details
-
DefaultWebFluxTagsProvider
public DefaultWebFluxTagsProvider()Deprecated, for removal: This API element is subject to removal in a future version. -
DefaultWebFluxTagsProvider
Deprecated, for removal: This API element is subject to removal in a future version.Creates a newDefaultWebFluxTagsProvider
that will provide tags from the givencontributors
in addition to its own.- Parameters:
contributors
- the contributors that will provide additional tags- Since:
- 2.3.0
-
DefaultWebFluxTagsProvider
public DefaultWebFluxTagsProvider(boolean ignoreTrailingSlash) Deprecated, for removal: This API element is subject to removal in a future version. -
DefaultWebFluxTagsProvider
public DefaultWebFluxTagsProvider(boolean ignoreTrailingSlash, List<WebFluxTagsContributor> contributors) Deprecated, for removal: This API element is subject to removal in a future version.Creates a newDefaultWebFluxTagsProvider
that will provide tags from the givencontributors
in addition to its own.- Parameters:
ignoreTrailingSlash
- whether trailing slashes should be ignored when determining theuri
tag.contributors
- the contributors that will provide additional tags- Since:
- 2.3.0
-
-
Method Details
-
httpRequestTags
public Iterable<io.micrometer.core.instrument.Tag> httpRequestTags(ServerWebExchange exchange, Throwable exception) Deprecated, for removal: This API element is subject to removal in a future version.Description copied from interface:WebFluxTagsProvider
Provides tags to be associated with metrics for the givenexchange
.- Specified by:
httpRequestTags
in interfaceWebFluxTagsProvider
- Parameters:
exchange
- the exchangeexception
- the current exception (may benull
)- Returns:
- tags to associate with metrics for the request and response exchange
-
ServerRequestObservationConvention