Class DefaultPulsarTemplateObservationConvention
java.lang.Object
org.springframework.pulsar.observation.DefaultPulsarTemplateObservationConvention
- All Implemented Interfaces:
io.micrometer.observation.KeyValuesConvention
,io.micrometer.observation.ObservationConvention<PulsarMessageSenderContext>
,PulsarTemplateObservationConvention
public class DefaultPulsarTemplateObservationConvention
extends Object
implements PulsarTemplateObservationConvention
Default
PulsarTemplateObservationConvention
for Pulsar template key values.- Author:
- Chris Bono
-
Field Summary
Modifier and TypeFieldDescriptionstatic final DefaultPulsarTemplateObservationConvention
A 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 io.micrometer.observation.ObservationConvention
getHighCardinalityKeyValues
Methods inherited from interface org.springframework.pulsar.observation.PulsarTemplateObservationConvention
supportsContext
-
Field Details
-
INSTANCE
A singleton instance of the convention.
-
-
Constructor Details
-
DefaultPulsarTemplateObservationConvention
public DefaultPulsarTemplateObservationConvention()
-
-
Method Details
-
getLowCardinalityKeyValues
public io.micrometer.common.KeyValues getLowCardinalityKeyValues(PulsarMessageSenderContext context) - Specified by:
getLowCardinalityKeyValues
in interfaceio.micrometer.observation.ObservationConvention<PulsarMessageSenderContext>
-
getName
- Specified by:
getName
in interfaceio.micrometer.observation.ObservationConvention<PulsarMessageSenderContext>
- Specified by:
getName
in interfacePulsarTemplateObservationConvention
-
getContextualName
- Specified by:
getContextualName
in interfaceio.micrometer.observation.ObservationConvention<PulsarMessageSenderContext>
-