if (reporter != null) { FrontMetricGroup front = new FrontMetricGroup<AbstractMetricGroup<?>>(i, group); reporter.notifyOfAddedMetric(metric, metricName, front);
if (reporter != null) { FrontMetricGroup front = new FrontMetricGroup<AbstractMetricGroup<?>>(i, group); reporter.notifyOfRemovedMetric(metric, metricName, front);
reporterConfig.addAllToProperties(metricConfig); LOG.info("Configuring {} with {}.", namedReporter, metricConfig); reporterInstance.open(metricConfig);
for (MetricReporter reporter : reporters) { try { reporter.close(); } catch (Throwable t) { throwable = ExceptionUtils.firstOrSuppressed(t, throwable);
for (MetricReporter reporter : reporters) { try { reporter.close(); } catch (Throwable t) { throwable = ExceptionUtils.firstOrSuppressed(t, throwable);
for (MetricReporter reporter : reporters) { try { reporter.close(); } catch (Throwable t) { throwable = ExceptionUtils.firstOrSuppressed(t, throwable);
if (reporter != null) { FrontMetricGroup front = new FrontMetricGroup<AbstractMetricGroup<?>>(i, group); reporter.notifyOfRemovedMetric(metric, metricName, front);
if (reporter != null) { FrontMetricGroup front = new FrontMetricGroup<AbstractMetricGroup<?>>(i, group); reporter.notifyOfAddedMetric(metric, metricName, front);
reporterConfig.addAllToProperties(metricConfig); LOG.info("Configuring {} with {}.", namedReporter, metricConfig); reporterInstance.open(metricConfig);
for (MetricReporter reporter : reporters) { try { reporter.close(); } catch (Throwable t) { LOG.warn("Metrics reporter did not shut down cleanly", t);
if (reporter != null) { FrontMetricGroup front = new FrontMetricGroup<AbstractMetricGroup<?>>(i, group); reporter.notifyOfRemovedMetric(metric, metricName, front);
if (reporter != null) { FrontMetricGroup front = new FrontMetricGroup<AbstractMetricGroup<?>>(i, group); reporter.notifyOfAddedMetric(metric, metricName, front);
reporterConfig.addAllToProperties(metricConfig); LOG.info("Configuring {} with {}.", reporterClass.getSimpleName(), metricConfig); reporterInstance.open(metricConfig);
if (reporter != null) { FrontMetricGroup front = new FrontMetricGroup<AbstractMetricGroup<?>>(i, group); reporter.notifyOfRemovedMetric(metric, metricName, front);
if (reporter != null) { FrontMetricGroup front = new FrontMetricGroup<AbstractMetricGroup<?>>(i, group); reporter.notifyOfAddedMetric(metric, metricName, front);
reporterConfig.addAllToProperties(metricConfig); LOG.info("Configuring {} with {}.", namedReporter, metricConfig); reporterInstance.open(metricConfig);