Class DefaultClientHttpObservationConvention

java.lang.Object
org.springframework.http.client.observation.DefaultClientHttpObservationConvention
All Implemented Interfaces:
io.micrometer.observation.KeyValuesConvention, io.micrometer.observation.ObservationConvention<ClientHttpObservationContext>, ClientHttpObservationConvention

public class DefaultClientHttpObservationConvention extends Object implements ClientHttpObservationConvention
Default implementation for a ClientHttpObservationConvention, extracting information from the ClientHttpObservationContext.
Since:
6.0
Author:
Brian Clozel
  • Constructor Details

    • DefaultClientHttpObservationConvention

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

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