Class DefaultWebClientExchangeTagsProvider

    • Method Detail

      • tags

        public Iterable<io.micrometer.core.instrument.Tag> tags​(org.springframework.web.reactive.function.client.ClientRequest request,
                                                                org.springframework.web.reactive.function.client.ClientResponse response,
                                                                Throwable throwable)
        Description copied from interface: WebClientExchangeTagsProvider
        Provide tags to be associated with metrics for the client exchange.
        Specified by:
        tags in interface WebClientExchangeTagsProvider
        Parameters:
        request - the client request
        response - the server response (may be null)
        throwable - the exception (may be null)
        Returns:
        tags to associate with metrics for the request and response exchange