Interface MetricReporter
-
- All Superinterfaces:
Reporter
- All Known Implementing Classes:
AbstractReporter
@Public public interface MetricReporter extends Reporter
Metric reporters are used to exportMetricsto an external backend.Metric reporters are instantiated via a
MetricReporterFactory.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description voidnotifyOfAddedMetric(Metric metric, String metricName, MetricGroup group)Called when a newMetricwas added.voidnotifyOfRemovedMetric(Metric metric, String metricName, MetricGroup group)Called when aMetricwas removed.
-
-
-
Method Detail
-
notifyOfAddedMetric
void notifyOfAddedMetric(Metric metric, String metricName, MetricGroup group)
Called when a newMetricwas added.- Parameters:
metric- the metric that was addedmetricName- the name of the metricgroup- the group that contains the metric
-
notifyOfRemovedMetric
void notifyOfRemovedMetric(Metric metric, String metricName, MetricGroup group)
Called when aMetricwas removed.- Parameters:
metric- the metric that should be removedmetricName- the name of the metricgroup- the group that contains the metric
-
-