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)