@Configuration public class MRulesMonitoringAutoConfiguration extends Object
Constructor and Description |
---|
MRulesMonitoringAutoConfiguration() |
Modifier and Type | Method and Description |
---|---|
AbstractMRulesMetrics |
mrulesMetrics(boolean simpleStats,
ExtendedDistributionSummary.Parameters parameters)
Change the value of the "simple-mrules-stats" environment parameter to change the
metrics collecting method.
|
@Bean public AbstractMRulesMetrics mrulesMetrics(@Value(value="${simple-mrules-stats:false}") boolean simpleStats, @Autowired(required=false) ExtendedDistributionSummary.Parameters parameters)