[
https://issues.apache.org/jira/browse/OAK-7384?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16422092#comment-16422092
]
Andrei Dulceanu commented on OAK-7384:
--------------------------------------
The attached patch includes all changes for accommodating the changes in the
description.
[~mduerig], could you take a look at it, please?
> SegmentNodeStoreStats should expose stats for previous minute per thread group
> ------------------------------------------------------------------------------
>
> Key: OAK-7384
> URL: https://issues.apache.org/jira/browse/OAK-7384
> Project: Jackrabbit Oak
> Issue Type: Improvement
> Components: segment-tar
> Reporter: Andrei Dulceanu
> Assignee: Andrei Dulceanu
> Priority: Minor
> Labels: tooling
> Fix For: 1.9.0, 1.10
>
> Attachments: OAK-7384.patch
>
>
> The current "CommitsCountPerWriter" stats exposed by
> {{SegmentNodeStoreStats}} are hard to follow since there can be too many
> writers at a time. To improve this, a more coarse-grained version of this
> metric should be added, in which commits are recorded for groups of threads.
> The groups should be configurable and represent regexes to be matched by
> individual thread names. An additional group (i.e. "other") will group all
> threads not matching any of the defined group regexes.
> The current behaviour will be split in two:
> * "CommitsCountOtherThreads" will expose a snapshot of threads currently in
> "other" group
> * "CommitsCountPerGroup" will expose an aggregate of commits count per thread
> group for the previous minute.
> Both metrics will be reset each minute.
--
This message was sent by Atlassian JIRA
(v7.6.3#76005)