类 DefaultWebFluxTagsProvider
- java.lang.Object
- org.springframework.boot.actuate.metrics.web.reactive.server.DefaultWebFluxTagsProvider
- 所有已实现的接口:
WebFluxTagsProvider
public class DefaultWebFluxTagsProvider extends Object implements WebFluxTagsProvider
Default implementation ofWebFluxTagsProvider
.- 从以下版本开始:
- 2.0.0
构造器概要
构造器 构造器 说明 DefaultWebFluxTagsProvider()
方法概要
所有方法 实例方法 具体方法 修饰符和类型 方法 说明 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
.
构造器详细资料
DefaultWebFluxTagsProvider
public DefaultWebFluxTagsProvider()
方法详细资料
httpRequestTags
public Iterable<io.micrometer.core.instrument.Tag> httpRequestTags(org.springframework.web.server.ServerWebExchange exchange, Throwable exception)
从接口复制的说明:WebFluxTagsProvider
Provides tags to be associated with metrics for the givenexchange
.- 指定者:
httpRequestTags
在接口中WebFluxTagsProvider
- 参数:
exchange
- the exchangeexception
- the current exception (may benull
)- 返回:
- tags to associate with metrics for the request and response exchange