hadoop-common-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Sushil Ks (JIRA)" <j...@apache.org>
Subject [jira] [Updated] (HADOOP-15657) Registering MutableQuantiles via Metric annotation
Date Thu, 09 Aug 2018 10:06:00 GMT

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

Sushil Ks updated HADOOP-15657:
-------------------------------
    Description: 
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}
 

  was:
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 vis Metric annotation. 

Example:

 
{code:java}
@Metric(about = "async PUT entities latency", valueName = "latency", interval = 10)
private MutableQuantiles foobarAsyncLatency;
 
{code}
 


> 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
>            Priority: Major
>         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-unsubscribe@hadoop.apache.org
For additional commands, e-mail: common-issues-help@hadoop.apache.org


Mime
View raw message