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
@Deprecated(since="3.0.0",
forRemoval=true)
public interface WebFluxTagsProvider
Deprecated, for removal: This API element is subject to removal in a future version.
Provides
Tags
for WebFlux-based request handling.- Since:
- 2.0.0
- Author:
- Jon Schneider, Andy Wilkinson
-
Method Summary
Modifier and TypeMethodDescriptionIterable<io.micrometer.core.instrument.Tag>
httpRequestTags
(ServerWebExchange exchange, Throwable ex) Deprecated, for removal: This API element is subject to removal in a future version.Provides tags to be associated with metrics for the givenexchange
.
-
Method Details
-
httpRequestTags
Iterable<io.micrometer.core.instrument.Tag> httpRequestTags(ServerWebExchange exchange, Throwable ex) Deprecated, for removal: This API element is subject to removal in a future version.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
-
ServerRequestObservationConvention