Interface AbstractTemplateObservation.Specifics<ContextType extends AbstractTemplateObservation.Context>

Type Parameters:
ContextType -
All Known Implementing Classes:
SqsTemplateObservation.SqsSpecifics
Enclosing class:
AbstractTemplateObservation

public static interface AbstractTemplateObservation.Specifics<ContextType extends AbstractTemplateObservation.Context>
Contains observation-related instances that are specific to a messaging system.
  • Method Details

    • createContext

      ContextType createContext(Message<?> message, String destinationName)
      Construct an specific AbstractListenerObservation.Context instance with the provided message.
      Parameters:
      message - the message from which the context should be constructed.
      Returns:
      the context instance.
    • getDefaultConvention

      io.micrometer.observation.ObservationConvention<ContextType> getDefaultConvention()
      Return the default ObservationConvention for the specific messaging system.
      Returns:
      the convention.
    • getDocumentation

      io.micrometer.observation.docs.ObservationDocumentation getDocumentation()
      Return the ObservationDocumentation for the specific messaging system.
      Returns:
      the documentation.