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