org.springframework.boot.actuate.metrics.web.reactive.server

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
    Provides Tags for WebFlux-based request handling.
    Since:
    2.0.0
    Author:
    Jon Schneider, Andy Wilkinson
    • Method Detail

      • httpRequestTags

        Iterable<io.micrometer.core.instrument.Tag> httpRequestTags(ServerWebExchange exchange,
                                                                    Throwable ex)
        Provides tags to be associated with metrics for the given exchange.
        Parameters:
        exchange - the exchange
        ex - the current exception (may be null
        Returns:
        tags to associate with metrics for the request and response exchange