Class DefaultPublishObservationConvention

java.lang.Object
com.rabbitmq.client.amqp.observation.micrometer.DefaultPublishObservationConvention
All Implemented Interfaces:
PublishObservationConvention, io.micrometer.observation.KeyValuesConvention, io.micrometer.observation.ObservationConvention<PublishContext>

public class DefaultPublishObservationConvention extends Object implements PublishObservationConvention
Default ObservationConvention for publishing.
  • Constructor Details

    • DefaultPublishObservationConvention

      public DefaultPublishObservationConvention()
  • Method Details

    • getName

      public String getName()
      Specified by:
      getName in interface io.micrometer.observation.ObservationConvention<PublishContext>
    • getContextualName

      public String getContextualName(PublishContext context)
      Specified by:
      getContextualName in interface io.micrometer.observation.ObservationConvention<PublishContext>
    • getLowCardinalityKeyValues

      public io.micrometer.common.KeyValues getLowCardinalityKeyValues(PublishContext context)
      Specified by:
      getLowCardinalityKeyValues in interface io.micrometer.observation.ObservationConvention<PublishContext>
    • getHighCardinalityKeyValues

      public io.micrometer.common.KeyValues getHighCardinalityKeyValues(PublishContext context)
      Specified by:
      getHighCardinalityKeyValues in interface io.micrometer.observation.ObservationConvention<PublishContext>