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

Consistent names for ServiceExecutorAdaptive metrics

    • Type: Icon: Improvement Improvement
    • Resolution: Fixed
    • Priority: Icon: Major - P3 Major - P3
    • 3.5.12
    • Affects Version/s: 3.5.11
    • Component/s: Diagnostics
    • None
    • Fully Compatible
    • Platforms 2017-08-21

      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

            Assignee:
            andrew.morrow@mongodb.com Andrew Morrow (Inactive)
            Reporter:
            bruce.lucas@mongodb.com Bruce Lucas (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

              Created:
              Updated:
              Resolved: