You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@hbase.apache.org by "Nihal Jain (JIRA)" <ji...@apache.org> on 2018/04/19 17:54:01 UTC

[jira] [Commented] (HBASE-20450) Provide metrics for number of total active, priority and replication rpc handlers

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

Nihal Jain commented on HBASE-20450:
------------------------------------

Hi I have attached the patch where I have added three new metrics to retrieve counts of general, priority and replication rpc handlers.  

> Provide metrics for number of total active, priority and replication rpc handlers
> ---------------------------------------------------------------------------------
>
>                 Key: HBASE-20450
>                 URL: https://issues.apache.org/jira/browse/HBASE-20450
>             Project: HBase
>          Issue Type: Improvement
>          Components: metrics
>            Reporter: Nihal Jain
>            Assignee: Nihal Jain
>            Priority: Major
>             Fix For: 3.0.0
>
>         Attachments: HBASE-20450.master.001.patch
>
>
> Currently hbase provides a metric for [number of total active rpc handlers|https://github.com/apache/hbase/blob/f4f2b68238a094d7b1931dc8b7939742ccbb2b57/hbase-server/src/main/java/org/apache/hadoop/hbase/ipc/SimpleRpcScheduler.java#L187] which is a sum of the following:
>  * number of active general rpc handlers
>  * number of active priority rpc handlers
>  * number of active replication rpc handlers
> I think we can have 3 different metrics corresponding to the above mentioned handlers which will allow us to see detailed information about number of active handlers running for a particular type of handler.
> We can have following new metrics:
>  * numActiveGeneralHandler
>  * numActivePriorityHandler
>  * numActiveReplicationHandler
>  
>  
>  



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