Class RabbitStreamTemplateObservation.DefaultRabbitStreamTemplateObservationConvention
java.lang.Object
org.springframework.rabbit.stream.micrometer.RabbitStreamTemplateObservation.DefaultRabbitStreamTemplateObservationConvention
- All Implemented Interfaces:
io.micrometer.observation.KeyValuesConvention
,io.micrometer.observation.ObservationConvention<RabbitStreamMessageSenderContext>
,RabbitStreamTemplateObservationConvention
- Enclosing class:
- RabbitStreamTemplateObservation
public static class RabbitStreamTemplateObservation.DefaultRabbitStreamTemplateObservationConvention
extends Object
implements RabbitStreamTemplateObservationConvention
Default
RabbitStreamTemplateObservationConvention
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.rabbit.stream.micrometer.RabbitStreamTemplateObservationConvention
getName, supportsContext
-
Field Details
-
INSTANCE
public static final RabbitStreamTemplateObservation.DefaultRabbitStreamTemplateObservationConvention INSTANCEA singleton instance of the convention.
-
-
Constructor Details
-
DefaultRabbitStreamTemplateObservationConvention
public DefaultRabbitStreamTemplateObservationConvention()
-
-
Method Details
-
getLowCardinalityKeyValues
public io.micrometer.common.KeyValues getLowCardinalityKeyValues(RabbitStreamMessageSenderContext context) - Specified by:
getLowCardinalityKeyValues
in interfaceio.micrometer.observation.ObservationConvention<RabbitStreamMessageSenderContext>
-
getContextualName
- Specified by:
getContextualName
in interfaceio.micrometer.observation.ObservationConvention<RabbitStreamMessageSenderContext>
-