[ 
https://issues.apache.org/jira/browse/HBASE-14724?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Ashu Pachauri updated HBASE-14724:
----------------------------------
    Attachment: HBASE-14724-1.patch

V1:
Attaching counters to stores is difficult as the context of each operation is 
not available at Store level. However, I have followed the approach similar to 
what is already being done for the rest of region metrics i.e. storing per CF 
counters in the region. The is a counter for all CFs too, which is updated 
rather than iterating through all CFs, if a request operates on all the CFs for 
the table.

One interesting thing to note apart from the usual code review here is that the 
name _UNKNOWN_ is used as a column family for reporting metrics when 
batchMutate operations have inconsistent set of CFs.

> Per column family numops metrics
> --------------------------------
>
>                 Key: HBASE-14724
>                 URL: https://issues.apache.org/jira/browse/HBASE-14724
>             Project: HBase
>          Issue Type: Improvement
>          Components: metrics
>            Reporter: Ashu Pachauri
>            Assignee: Ashu Pachauri
>         Attachments: HBASE-14724-1.patch, HBASE-14724.patch
>
>
> It will be nice to have per CF regionserver metrics for number of operations 
> i.e. per CF get, mutate, delete and scan numops.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Reply via email to