[ 
https://issues.apache.org/jira/browse/HADOOP-2886?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12578423#action_12578423
 ] 

girish vaitheeswaran commented on HADOOP-2886:
----------------------------------------------

Thanks sanjay. 

1. Braces have been fixed.

2. pushMetric appends _ops and _avg_time to the name of the metric, so even in 
the case of the rpc methods these would get appended.

I have uploaded the latest patch with the braces fixed.
 


> Track individual RPC metrics.
> -----------------------------
>
>                 Key: HADOOP-2886
>                 URL: https://issues.apache.org/jira/browse/HADOOP-2886
>             Project: Hadoop Core
>          Issue Type: Improvement
>          Components: metrics
>            Reporter: girish vaitheeswaran
>         Attachments: rpc-metrics.patch, rpc-metrics.patch, rpc-metrics.path, 
> rpcmetrics.patch
>
>
> There is currently no mechanism to track performance metrics at the 
> granularity of a specific RPC. So For e.g. if we wanted to capture average 
> latency for the openFile RPC or for the createFile RPC the current 
> infrastructure does not support that.
> The implementation involves having a simple HashMap where every new Rpc 
> metric being added would be inserted into the HashMap. Since there is a 
> mechanism to obtain RPC latencies already (without the name of the specific 
> RPC), the identification of what RPC is involved would be done by doing a 
> lookup on the HashMap.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


Reply via email to