Interface WebFluxTagsProvider
- All Known Implementing Classes:
DefaultWebFluxTagsProvider
- Functional Interface:
- This is a functional interface and can therefore be used as the assignment target for a lambda expression or method reference.
@FunctionalInterface public interface WebFluxTagsProvider
ProvidesTags
for WebFlux-based request handling.- Since:
- 2.0.0
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description Iterable<io.micrometer.core.instrument.Tag>
httpRequestTags(org.springframework.web.server.ServerWebExchange exchange, Throwable ex)
Provides tags to be associated with metrics for the givenexchange
.
Method Detail
httpRequestTags
Iterable<io.micrometer.core.instrument.Tag> httpRequestTags(org.springframework.web.server.ServerWebExchange exchange, Throwable ex)
Provides tags to be associated with metrics for the givenexchange
.- Parameters:
exchange
- the exchangeex
- the current exception (may benull
)- Returns:
- tags to associate with metrics for the request and response exchange