[ 
https://issues.apache.org/jira/browse/HBASE-20672?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16505585#comment-16505585
 ] 

Allan Yang commented on HBASE-20672:
------------------------------------

{code}
+          readRequestsRatePerSecond = readRequestsRatePerMilliSecond / 1000.0;
+          writeRequestsRatePerSecond = writeRequestsRatePerMilliSecond/ 1000.0;
{code}
Shouldn't be RatePerSecond = RatePerMilliSecond *1000 ?

> Create new HBase metrics ReadRequestRate and WriteRequestRate that reset at 
> every monitoring interval
> -----------------------------------------------------------------------------------------------------
>
>                 Key: HBASE-20672
>                 URL: https://issues.apache.org/jira/browse/HBASE-20672
>             Project: HBase
>          Issue Type: Improvement
>          Components: metrics
>            Reporter: Ankit Jain
>            Assignee: Ankit Jain
>            Priority: Minor
>         Attachments: HBASE-20672.branch-1.001.patch, 
> HBASE-20672.master.001.patch, HBASE-20672.master.002.patch
>
>
> Hbase currently provides counter read/write requests (ReadRequestCount, 
> WriteRequestCount). That said it is not easy to use counter that reset only 
> after a restart of the service, we would like to expose 2 new metrics in 
> HBase to provide ReadRequestRate and WriteRequestRate at region server level.



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

Reply via email to