Class DefaultClientObservationConvention

java.lang.Object
org.springframework.web.reactive.function.client.DefaultClientObservationConvention
All Implemented Interfaces:
io.micrometer.observation.KeyValuesConvention, io.micrometer.observation.ObservationConvention<ClientObservationContext>, ClientObservationConvention

public class DefaultClientObservationConvention extends Object implements ClientObservationConvention
Default implementation for a WebClient ObservationConvention, extracting information from the ClientObservationContext.
Since:
6.0
Author:
Brian Clozel
  • Constructor Details

    • DefaultClientObservationConvention

      public DefaultClientObservationConvention()
      Create a convention with the default name "http.client.requests".
    • DefaultClientObservationConvention

      public DefaultClientObservationConvention(String name)
      Create a convention with a custom name.
      Parameters:
      name - the observation name
  • Method Details