Uploaded image for project: 'PuppetDB'
  1. PuppetDB
  2. PDB-4268

Add some kind of metric tracking the number of concurrent enqueues

    XMLWordPrintable

    Details

    • Type: New Feature
    • Status: Resolved
    • Priority: Normal
    • Resolution: Done
    • Affects Version/s: None
    • Fix Version/s: PDB 7.2.0, PDB 6.15.0
    • Component/s: None
    • Labels:
    • Template:
    • Acceptance Criteria:
      Hide
      • An added metric to the mq-metrics-registry which tracks the number of commands waiting to acquire a token from the write semaphore at any given time.
      • A test which shows that this metric increases and decreases as expected.
      Show
      An added metric to the mq-metrics-registry which tracks the number of commands waiting to acquire a token from the write semaphore at any given time. A test which shows that this metric increases and decreases as expected.
    • Team:
      Ghost
    • Story Points:
      3
    • Sprint:
      ghost-24.02.2021
    • Release Notes:
      New Feature
    • Release Notes Summary:
      A new metric (:concurrent-depth), which counts the number of /cmd API requests that are waiting to write to the disk, was added.
    • QA Risk Assessment:
      Needs Assessment

      Description

      This metric is about getting a count of the number of `/cmd` API requests that are waiting to write to disk because all the slots provided by the `concurrent-writes` setting are full.

      A continuously positive number for this metric would indicate a need to increase `concurrent-writes`, get a faster disk, or separate your queue onto a different disk than other I/O heavy processes. 

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              oana.tanasoiu Oana Tanasoiu
              Reporter:
              rob.browning Rob Browning
              Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved:

                  Zendesk Support