You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@hbase.apache.org by "Nick Dimiduk (Jira)" <ji...@apache.org> on 2019/08/29 18:14:00 UTC
[jira] [Created] (HBASE-22948) Report region size metric as a
histogram
Nick Dimiduk created HBASE-22948:
------------------------------------
Summary: Report region size metric as a histogram
Key: HBASE-22948
URL: https://issues.apache.org/jira/browse/HBASE-22948
Project: HBase
Issue Type: Improvement
Components: metrics
Reporter: Nick Dimiduk
Right now we expose a metric {{Hadoop:service=HBase,name=RegionServer,sub=Server,attribute=averageRegionSize}}, which is calculated as (the sum of all {{Store#getStoreFilesSize()}} for all stores in all regions, plus the current memStore size) divided by the number of regions. We also expose under {{Hadoop:service=HBase,name=RegionServer,sub=Regions,attribute=$tableName_$region_metric_storeFileSize}}. I posit that the average size metric is too coarse-grain, yet the metric per region is too granular to be casually consumed. I propose we change the {{averageRegionSize}} to be a histogram with our standard percentiles. I suspect this change would be obliged to omit the memStore size from the calculation, but I think the memStore is adequately monitored elsewhere.
--
This message was sent by Atlassian Jira
(v8.3.2#803003)