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
FieldsModifier and TypeFieldDescriptionstatic final DefaultPulsarTemplateObservationConventionA singleton instance of the convention.Fields inherited from interface io.micrometer.observation.ObservationConvention
EMPTY -
Constructor Summary
Constructors -
Method Summary
Methods 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.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:
getLowCardinalityKeyValuesin interfaceio.micrometer.observation.ObservationConvention<PulsarMessageSenderContext>
-
getName
- Specified by:
getNamein interfaceio.micrometer.observation.ObservationConvention<PulsarMessageSenderContext>- Specified by:
getNamein interfacePulsarTemplateObservationConvention
-
getContextualName
- Specified by:
getContextualNamein interfaceio.micrometer.observation.ObservationConvention<PulsarMessageSenderContext>
-