Class KafkaTemplateObservation.DefaultKafkaTemplateObservationConvention
java.lang.Object
org.springframework.kafka.support.micrometer.KafkaTemplateObservation.DefaultKafkaTemplateObservationConvention
- All Implemented Interfaces:
io.micrometer.observation.KeyValuesConvention
,io.micrometer.observation.ObservationConvention<KafkaRecordSenderContext>
,KafkaTemplateObservationConvention
- Enclosing class:
- KafkaTemplateObservation
public static class KafkaTemplateObservation.DefaultKafkaTemplateObservationConvention
extends Object
implements KafkaTemplateObservationConvention
Default
KafkaTemplateObservationConvention
for Kafka template key values.- Since:
- 3.0
- Author:
- Gary Russell
-
Field Summary
Modifier and TypeFieldDescriptionA singleton instance of the convention.Fields inherited from interface io.micrometer.observation.ObservationConvention
EMPTY
-
Constructor Summary
-
Method Summary
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface org.springframework.kafka.support.micrometer.KafkaTemplateObservationConvention
supportsContext
Methods inherited from interface io.micrometer.observation.ObservationConvention
getHighCardinalityKeyValues
-
Field Details
-
INSTANCE
A singleton instance of the convention.
-
-
Constructor Details
-
DefaultKafkaTemplateObservationConvention
public DefaultKafkaTemplateObservationConvention()
-
-
Method Details
-
getLowCardinalityKeyValues
- Specified by:
getLowCardinalityKeyValues
in interfaceio.micrometer.observation.ObservationConvention<KafkaRecordSenderContext>
-
getContextualName
- Specified by:
getContextualName
in interfaceio.micrometer.observation.ObservationConvention<KafkaRecordSenderContext>
-
getName
- Specified by:
getName
in interfaceKafkaTemplateObservationConvention
- Specified by:
getName
in interfaceio.micrometer.observation.ObservationConvention<KafkaRecordSenderContext>
-