Class ModuleEventCounterFactory

java.lang.Object
org.springframework.modulith.observability.support.ModuleEventCounterFactory
All Implemented Interfaces:
ModulithEventMetrics

public class ModuleEventCounterFactory extends Object implements ModulithEventMetrics
A factory to create Counter.Builder instances for Counters eventually. Target for dependency injection via the ModulithEventMetricsCustomizer interface to allow users to augment the counters with additional information.
Since:
1.4
Author:
Oliver Drotbohm, Marcin Grzejszczak