Package io.mats3.api.intercept
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
FieldsModifier and TypeFieldDescriptionstatic final String
When measuring "initiate complete", and the initiation ends up sending no messages, there is noInitiatorId
to include.
-
Field Details
-
INITIATOR_ID_WHEN_NO_OUTGOING_MESSAGES
When measuring "initiate complete", and the initiation ends up sending no messages, there is noInitiatorId
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:
-