final CorePlugin corePlugin = getConfiguration(CorePlugin.class);
initializePlugins(corePlugin);
RegexMetricFilter regexFilter = new RegexMetricFilter(corePlugin.getExcludedMetricsPatterns());
getMetricRegistry().removeMatching(regexFilter);
MetricFilter allFilters = new OrMetricFilter(regexFilter, new MetricsWithCountFilter());
reportToGraphite(corePlugin.getGraphiteReportingInterval(), measurementSession, allFilters, corePlugin);
reportToConsole(corePlugin.getConsoleReportingInterval(), allFilters);
if (corePlugin.reportToJMX()) {
reportToJMX(allFilters);