Interface MessageSenderObservationConvention
- All Superinterfaces:
io.micrometer.observation.KeyValuesConvention
,io.micrometer.observation.ObservationConvention<MessageSenderContext>
- All Known Implementing Classes:
DefaultMessageSenderObservationConvention
public interface MessageSenderObservationConvention
extends io.micrometer.observation.ObservationConvention<MessageSenderContext>
A
MessageSenderContext
-based ObservationConvention
contract.- Since:
- 6.0
- Author:
- Artem Bilan
-
Field Summary
Fields inherited from interface io.micrometer.observation.ObservationConvention
EMPTY
-
Method Summary
Modifier and TypeMethodDescriptiondefault String
getContextualName
(MessageSenderContext context) default String
getName()
default boolean
supportsContext
(io.micrometer.observation.Observation.Context context) Methods inherited from interface io.micrometer.observation.ObservationConvention
getHighCardinalityKeyValues, getLowCardinalityKeyValues
-
Method Details
-
getName
- Specified by:
getName
in interfaceio.micrometer.observation.ObservationConvention<MessageSenderContext>
-
supportsContext
default boolean supportsContext(io.micrometer.observation.Observation.Context context) - Specified by:
supportsContext
in interfaceio.micrometer.observation.ObservationConvention<MessageSenderContext>
-
getContextualName
- Specified by:
getContextualName
in interfaceio.micrometer.observation.ObservationConvention<MessageSenderContext>
-