Class DefaultWebClientExchangeTagsProvider

java.lang.Object
org.springframework.boot.actuate.metrics.web.reactive.client.DefaultWebClientExchangeTagsProvider
All Implemented Interfaces:
WebClientExchangeTagsProvider

@Deprecated(since="3.0.0", forRemoval=true) public class DefaultWebClientExchangeTagsProvider extends Object implements 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
Default implementation of WebClientExchangeTagsProvider.
Since:
2.1.0
  • Constructor Summary

    Constructors
    Constructor
    Description
    Deprecated, for removal: This API element is subject to removal in a future version.
     
  • Method Summary

    Modifier and Type
    Method
    Description
    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)
    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.

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Constructor Details

    • DefaultWebClientExchangeTagsProvider

      public DefaultWebClientExchangeTagsProvider()
      Deprecated, for removal: This API element is subject to removal in a future version.
  • Method Details

    • 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)
      Deprecated, for removal: This API element is subject to removal in a future version.
      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