Class MetricsReporter
java.lang.Object
org.opendaylight.controller.cluster.reporting.MetricsReporter
- All Implemented Interfaces:
AutoCloseable
Maintains metrics registry that is provided to reporters. At the moment only one reporter exists
JmxReporter
.
More reporters can be added.
The consumers of this class will only be interested in MetricsRegistry
where metrics for that consumer
gets stored.
-
Method Summary
Modifier and TypeMethodDescriptionvoid
close()
static MetricsReporter
getInstance
(String domainName) com.codahale.metrics.MetricRegistry
-
Method Details
-
getInstance
-
getMetricsRegistry
public com.codahale.metrics.MetricRegistry getMetricsRegistry() -
close
public void close()- Specified by:
close
in interfaceAutoCloseable
-