Class DefaultClientRequestObservationConvention

java.lang.Object
io.micronaut.micrometer.observation.http.client.instrumentation.DefaultClientRequestObservationConvention
All Implemented Interfaces:
io.micrometer.observation.KeyValuesConvention, io.micrometer.observation.ObservationConvention<ClientRequestObservationContext>, ClientRequestObservationConvention

@Internal public final class DefaultClientRequestObservationConvention extends Object implements ClientRequestObservationConvention
Default implementation for a ClientRequestObservationConvention extracting information from the ClientRequestObservationContext.
  • Constructor Details

    • DefaultClientRequestObservationConvention

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

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