You are viewing a plain text version of this content. The canonical link for it is here.
Posted to oak-issues@jackrabbit.apache.org by "Andrei Dulceanu (JIRA)" <ji...@apache.org> on 2018/04/02 08:56:00 UTC

[jira] [Created] (OAK-7384) SegmentNodeStoreStats should expose stats for previous minute per thread group

Andrei Dulceanu created OAK-7384:
------------------------------------

             Summary: 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
             Fix For: 1.9.0, 1.10


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)