Used MetricsPlugin MetricsConfig.
Implemented domain eventing.