Uploaded image for project: 'HBase'
  1. HBase
  2. HBASE-22948

Report region size metric as a histogram

    XMLWordPrintableJSON

    Details

    • Type: Improvement
    • Status: Open
    • Priority: Minor
    • Resolution: Unresolved
    • Affects Version/s: None
    • Fix Version/s: None
    • Component/s: metrics
    • Labels:
      None

      Description

      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.

        Attachments

          Activity

            People

            • Assignee:
              Unassigned
              Reporter:
              ndimiduk Nick Dimiduk
            • Votes:
              0 Vote for this issue
              Watchers:
              6 Start watching this issue

              Dates

              • Created:
                Updated: