Uploaded image for project: 'Core Server'
  1. Core Server
  2. SERVER-30535

Consistent names for ServiceExecutorAdaptive metrics

    XMLWordPrintable

    Details

    • Type: Improvement
    • Status: Closed
    • Priority: Major - P3
    • Resolution: Fixed
    • Affects Version/s: 3.5.11
    • Fix Version/s: 3.5.12
    • Component/s: Diagnostics
    • Labels:
      None

      Description

      The state of a task between being scheduled and being executed is variously referred to as "scheduled", "queued", and "pending"; it would be helpful for understanding to use a single term. (This ticket is about the user-visible metric names, but it might also be helpful to use consistent naming in the code).

      Specifically, the following metrics relate to executing tasks:

      • totalExecuted
      • tasksExecutng
      • totaltimeExecutingMicros

      Whereas the comparable metrics relating to the queued tasks are named as follows

      • totalScheduled
      • queueDepth
      • totalTimeQueuedMicros

      To make these consistent and easier to understand propose the following changes:

      • totalScheduled -> totalQueued
      • queueDepth -> tasksQueued

        Attachments

          Activity

            People

            • Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: