Class ObservationWebClientCustomizer

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

public class ObservationWebClientCustomizer extends Object implements WebClientCustomizer
WebClientCustomizer that configures the WebClient to record request observations.
Since:
3.0.0
Author:
Brian Clozel
  • Constructor Details

    • ObservationWebClientCustomizer

      public ObservationWebClientCustomizer(io.micrometer.observation.ObservationRegistry observationRegistry, ClientRequestObservationConvention observationConvention)
      Create a new ObservationWebClientCustomizer that will configure the Observation setup on the client.
      Parameters:
      observationRegistry - the registry to publish observations to
      observationConvention - the convention to use to populate observations
  • Method Details