Interface MatsInterceptable.MatsMetricsInterceptor

All Known Implementing Classes:
MatsMicrometerInterceptor
Enclosing interface:
MatsInterceptable

public static interface MatsInterceptable.MatsMetricsInterceptor
Marker interface to denote a metrics interceptor. The MatsFactory will only allow one such singleton interceptor, and remove any previously installed if subsequently installing another.
  • Field Summary

    Fields
    Modifier and Type
    Field
    Description
    static final String
    When measuring "initiate complete", and the initiation ends up sending no messages, there is no InitiatorId to include.
  • Field Details

    • INITIATOR_ID_WHEN_NO_OUTGOING_MESSAGES

      static final String INITIATOR_ID_WHEN_NO_OUTGOING_MESSAGES
      When measuring "initiate complete", and the initiation ends up sending no messages, there is no InitiatorId to include. This is a constant that can be used instead. Value is "_no_outgoing_messages_". (Note that this also holds for logging, but it came up first with pure metrics).
      See Also: