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

ASF GitHub Bot commented on EAGLE-872:
--------------------------------------

Github user haoch commented on the issue:

    https://github.com/apache/eagle/pull/783
  
    @r7raul1984 how do you think expose `CountMetricFilter`  as a parameter to 
choose which metric to convert as `count`, and the current hard-code behavior 
should only be some kind of default implementation?
    
        @FunctionInterface
        interface  CountMetricFilter extends Function<Map, Boolean>
       
        DefaultCountMetricFilter = (metric) -> 
metric["metric"].endsWith("*.count")


> Transform counter metric to rate metric
> ---------------------------------------
>
>                 Key: EAGLE-872
>                 URL: https://issues.apache.org/jira/browse/EAGLE-872
>             Project: Eagle
>          Issue Type: Improvement
>            Reporter: JiJun Tang
>            Assignee: JiJun Tang
>
> Some metric like hbase hadoop.hbase.regionserver.server.totalrequestcount is 
> counter type(the value is always increasing).We will save the rate of change 
> of the value over a step period.



--
This message was sent by Atlassian JIRA
(v6.3.15#6346)

Reply via email to