Uploaded image for project: 'Jackrabbit Oak'
  1. Jackrabbit Oak
  2. OAK-7384

SegmentNodeStoreStats should expose stats for previous minute per thread group

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Closed
    • Minor
    • Resolution: Fixed
    • None
    • 1.9.0, 1.10.0
    • segment-tar

    Description

      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.

      Attachments

        1. OAK-7384.patch
          15 kB
          Andrei Dulceanu

        Activity

          People

            adulceanu Andrei Dulceanu
            adulceanu Andrei Dulceanu
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: