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.- Since:
- 3.0.5
- Author:
- Gary Russell
-
Field Summary
FieldsModifier and TypeFieldDescriptionA singleton instance of the convention.Fields inherited from interface io.micrometer.observation.ObservationConvention
EMPTY -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionio.micrometer.common.KeyValuesMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface io.micrometer.observation.ObservationConvention
getHighCardinalityKeyValuesMethods 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:
getLowCardinalityKeyValuesin interfaceio.micrometer.observation.ObservationConvention<RabbitStreamMessageSenderContext>
-
getContextualName
- Specified by:
getContextualNamein interfaceio.micrometer.observation.ObservationConvention<RabbitStreamMessageSenderContext>
-