You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@hbase.apache.org by "Rushabh Shah (Jira)" <ji...@apache.org> on 2022/01/24 14:22:00 UTC

[jira] [Created] (HBASE-26702) Make ageOfLastShip extend TimeHistogram instead of plain histogram.

Rushabh Shah created HBASE-26702:
------------------------------------

             Summary: Make ageOfLastShip extend TimeHistogram instead of plain histogram.
                 Key: HBASE-26702
                 URL: https://issues.apache.org/jira/browse/HBASE-26702
             Project: HBase
          Issue Type: Improvement
          Components: metrics, Replication
    Affects Versions: 2.3.7, 1.7.1, 3.0.0-alpha-3
            Reporter: Rushabh Shah
            Assignee: Rushabh Shah


Currently age of last ship metric is an instance of an Histogram type. [Here|https://github.com/apache/hbase/blob/master/hbase-hadoop-compat/src/main/java/org/apache/hadoop/hbase/replication/regionserver/MetricsReplicationGlobalSourceSourceImpl.java#L58]
{quote}
   ageOfLastShippedOpHist = rms.getMetricsRegistry().getHistogram(SOURCE_AGE_OF_LAST_SHIPPED_OP);
{quote}

We can change it to TimeHistogram so that we get the range information also. 



--
This message was sent by Atlassian Jira
(v8.20.1#820001)