Class ObservationRestTemplateCustomizer

java.lang.Object
org.springframework.boot.restclient.observation.ObservationRestTemplateCustomizer
All Implemented Interfaces:
RestTemplateCustomizer

@Deprecated(since="4.2.0", forRemoval=true) public class ObservationRestTemplateCustomizer extends Object implements RestTemplateCustomizer
Deprecated, for removal: This API element is subject to removal in a future version.
since 4.2.0 for removal in 4.4.0 in favor of ObservationRestClientCustomizer
RestTemplateCustomizer that configures the RestTemplate to record request observations.
Since:
4.0.0
Author:
Brian Clozel
  • Constructor Details

    • ObservationRestTemplateCustomizer

      public ObservationRestTemplateCustomizer(io.micrometer.observation.ObservationRegistry observationRegistry, ClientRequestObservationConvention observationConvention)
      Deprecated, for removal: This API element is subject to removal in a future version.
      Create a new ObservationRestTemplateCustomizer.
      Parameters:
      observationRegistry - the observation registry
      observationConvention - the observation convention
  • Method Details