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
-
Constructor Summary
ConstructorsConstructorDescriptionDeprecated, 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 newDefaultWebFluxTagsProviderthat will provide tags from the givencontributorsin addition to its own.DefaultWebFluxTagsProvider(List<WebFluxTagsContributor> contributors) Deprecated, for removal: This API element is subject to removal in a future version.Creates a newDefaultWebFluxTagsProviderthat will provide tags from the givencontributorsin addition to its own. -
Method Summary
Modifier and TypeMethodDescriptionIterable<io.micrometer.core.instrument.Tag>httpRequestTags(org.springframework.web.server.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 newDefaultWebFluxTagsProviderthat will provide tags from the givencontributorsin 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 newDefaultWebFluxTagsProviderthat will provide tags from the givencontributorsin addition to its own.- Parameters:
ignoreTrailingSlash- whether trailing slashes should be ignored when determining theuritag.contributors- the contributors that will provide additional tags- Since:
- 2.3.0
-
-
Method Details
-
httpRequestTags
public Iterable<io.micrometer.core.instrument.Tag> httpRequestTags(org.springframework.web.server.ServerWebExchange exchange, Throwable exception) Deprecated, for removal: This API element is subject to removal in a future version.Description copied from interface:WebFluxTagsProviderProvides tags to be associated with metrics for the givenexchange.- Specified by:
httpRequestTagsin interfaceWebFluxTagsProvider- Parameters:
exchange- the exchangeexception- the current exception (may benull)- Returns:
- tags to associate with metrics for the request and response exchange
-
ServerRequestObservationConvention