Apache9 commented on code in PR #5107:
URL: https://github.com/apache/hbase/pull/5107#discussion_r1138260580


##########
hbase-hadoop-compat/src/main/java/org/apache/hadoop/hbase/regionserver/MetricsRegionAggregateSourceImpl.java:
##########
@@ -99,7 +98,6 @@ public void getMetrics(MetricsCollector collector, boolean 
all) {
           ((MetricsRegionSourceImpl) regionMetricSource).snapshot(mrb, all);
         }
       }
-      mrb.addGauge(Interns.info(NUM_REGIONS, NUMBER_OF_REGIONS_DESC), 
regionSources.size());

Review Comment:
   Have you checked when we add this metrics? What is it used for?



-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to