Class RabbitTemplateObservation.DefaultRabbitTemplateObservationConvention
java.lang.Object
org.springframework.amqp.rabbit.support.micrometer.RabbitTemplateObservation.DefaultRabbitTemplateObservationConvention
- All Implemented Interfaces:
io.micrometer.observation.KeyValuesConvention
,io.micrometer.observation.ObservationConvention<RabbitMessageSenderContext>
,RabbitTemplateObservationConvention
- Enclosing class:
- RabbitTemplateObservation
public static class RabbitTemplateObservation.DefaultRabbitTemplateObservationConvention
extends Object
implements RabbitTemplateObservationConvention
Default
RabbitTemplateObservationConvention
for Rabbit template key values.-
Field Summary
Modifier and TypeFieldDescriptionA singleton instance of the convention.Fields inherited from interface io.micrometer.observation.ObservationConvention
EMPTY
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionio.micrometer.common.KeyValues
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface io.micrometer.observation.ObservationConvention
getHighCardinalityKeyValues
Methods inherited from interface org.springframework.amqp.rabbit.support.micrometer.RabbitTemplateObservationConvention
getName, supportsContext
-
Field Details
-
INSTANCE
A singleton instance of the convention.
-
-
Constructor Details
-
DefaultRabbitTemplateObservationConvention
public DefaultRabbitTemplateObservationConvention()
-
-
Method Details
-
getLowCardinalityKeyValues
public io.micrometer.common.KeyValues getLowCardinalityKeyValues(RabbitMessageSenderContext context) - Specified by:
getLowCardinalityKeyValues
in interfaceio.micrometer.observation.ObservationConvention<RabbitMessageSenderContext>
-
getContextualName
- Specified by:
getContextualName
in interfaceio.micrometer.observation.ObservationConvention<RabbitMessageSenderContext>
-