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

Add some kind of metric tracking the number of concurrent enqueues

    XMLWordPrintable

Details

    • 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.
    • Ghost
    • 3
    • ghost-24.02.2021
    • New Feature
    • A new metric (:concurrent-depth), which counts the number of /cmd API requests that are waiting to write to the disk, was added.
    • 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

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

              Dates

                Created:
                Updated:
                Resolved:

                Zendesk Support