Interface WebClientExchangeTagsProvider

All Known Implementing Classes:
DefaultWebClientExchangeTagsProvider
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 WebClientExchangeTagsProvider
Deprecated, for removal: This API element is subject to removal in a future version.
since 3.0.0 for removal in 3.2.0 in favor of ClientRequestObservationConvention
Tags provider for an exchange performed by a WebClient.
Since:
2.1.0
Author:
Brian Clozel
  • Method Summary

    Modifier and Type
    Method
    Description
    Iterable<io.micrometer.core.instrument.Tag>
    tags(ClientRequest request, ClientResponse response, Throwable throwable)
    Deprecated, for removal: This API element is subject to removal in a future version.
    Provide tags to be associated with metrics for the client exchange.
  • Method Details

    • tags

      Iterable<io.micrometer.core.instrument.Tag> tags(ClientRequest request, ClientResponse response, Throwable throwable)
      Deprecated, for removal: This API element is subject to removal in a future version.
      Provide tags to be associated with metrics for the client exchange.
      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