public interface Source
MetricRegistry
to register the metrics
for monitoring.Modifier and Type | Method and Description |
---|---|
com.codahale.metrics.MetricRegistry |
getMetricRegistry()
Gets the instance of the
MetricRegistry . |
String |
getName()
Gets the name of the Source.
|
String getName()
com.codahale.metrics.MetricRegistry getMetricRegistry()
MetricRegistry
. A MetricRegistry is used to register the
metrics, and is passed to a Sink so that the sink knows which metrics to report.Copyright © 2023. All Rights Reserved.