Class DefaultWebFluxTagsProvider
- java.lang.Object
- org.springframework.boot.actuate.metrics.web.reactive.server.DefaultWebFluxTagsProvider
- All Implemented Interfaces:
WebFluxTagsProvider
public class DefaultWebFluxTagsProvider extends Object implements WebFluxTagsProvider
Default implementation ofWebFluxTagsProvider
.- Since:
- 2.0.0
Constructor Summary
Constructors Constructor Description DefaultWebFluxTagsProvider()
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Iterable<io.micrometer.core.instrument.Tag>
httpRequestTags(org.springframework.web.server.ServerWebExchange exchange, Throwable exception)
Provides tags to be associated with metrics for the givenexchange
.
Constructor Detail
DefaultWebFluxTagsProvider
public DefaultWebFluxTagsProvider()
Method Detail
httpRequestTags
public Iterable<io.micrometer.core.instrument.Tag> httpRequestTags(org.springframework.web.server.ServerWebExchange exchange, Throwable exception)
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