metrics icon indicating copy to clipboard operation
metrics copied to clipboard

Add getGauge(String group, MetricName name) to MetricManager

Open ralf0131 opened this issue 5 years ago • 0 comments

After you register a Gauge to MetricManager using com.alibaba.metrics.MetricManager#register, there is no way to query it from MetricManager.

As an alternative, you can use MetricManager.getIMetricManager().getGauges() to get all the gauges, but it is better to provide a more simple way.

ralf0131 avatar Apr 12 '19 02:04 ralf0131