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

Vrushali C edited comment on HADOOP-15657 at 9/6/18 3:55 AM:
-------------------------------------------------------------

Committed to trunk as part of 
https://github.com/apache/hadoop/commit/962089ab5978291f609656fa1c8a685c683ed83f

Thanks [~Sushil-K-S] for the patch! 


was (Author: vrushalic):
Committed to trunk as part of 
https://github.com/apache/hadoop/commit/962089ab5978291f609656fa1c8a685c683ed83f



> Registering MutableQuantiles via Metric annotation
> --------------------------------------------------
>
>                 Key: HADOOP-15657
>                 URL: https://issues.apache.org/jira/browse/HADOOP-15657
>             Project: Hadoop Common
>          Issue Type: Improvement
>          Components: metrics
>            Reporter: Sushil Ks
>            Assignee: Sushil Ks
>            Priority: Major
>             Fix For: 3.2.0, 3.0.4, 3.3.0, 3.1.2
>
>         Attachments: HADOOP-15657.001.patch
>
>
> Currently when creating new metrics we use @Metric annotation for registering 
> the MutableMetric i.e
> {code:java}
> @Metric
> private MutableInt foobarMetricCount
> {code}
> However,  there's no support for registering MutableQuantiles via Metric 
> annotation, hence creating this Jira to register MutableQuantiles via Metric 
> annotation. 
> Example:
>  
> {code:java}
> @Metric(about = "async PUT entities latency", valueName = "latency", interval 
> = 10)
> private MutableQuantiles foobarAsyncLatency;
>  
> {code}
>  



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

---------------------------------------------------------------------
To unsubscribe, e-mail: common-issues-unsubscr...@hadoop.apache.org
For additional commands, e-mail: common-issues-h...@hadoop.apache.org

Reply via email to