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

Chetan Mehrotra edited comment on OAK-3823 at 12/23/15 6:28 AM:
----------------------------------------------------------------

For Meter and Counter - count represents the sum of all numbers passed in all 
invocations. While for Timer and Histogram it represents the count of 
invocations

Done with 1721493


was (Author: chetanm):
Done with 1721493

> Expose the count maintained by various stats
> --------------------------------------------
>
>                 Key: OAK-3823
>                 URL: https://issues.apache.org/jira/browse/OAK-3823
>             Project: Jackrabbit Oak
>          Issue Type: Task
>          Components: core
>            Reporter: Chetan Mehrotra
>            Assignee: Chetan Mehrotra
>            Priority: Minor
>             Fix For: 1.3.13
>
>
> All Metric instance implement the {{Counting}} interface which exposes the 
> count for underlying metrics
> # Counter - Counter value
> # Meter - Sum of all mark calls
> # Timer - Number of times timer is invoked
> # Histrogram - Number of times timer is invoked
> This would avoid maintaining a duplicate sum variable for say maintaining the 
> sum of all data upload recorded in a meter



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

Reply via email to