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

Separate statistics per ServiceExecutor

    • Type: Icon: Improvement Improvement
    • Resolution: Fixed
    • Priority: Icon: Major - P3 Major - P3
    • 4.9.0
    • Affects Version/s: None
    • Component/s: None
    • None
    • Fully Compatible
    • Service arch 2020-11-02, Service arch 2020-11-16, Service arch 2020-11-30, Service arch 2020-12-14

      The current format does not have allowances for separate service executors. Specifically, we need to represent a new section for the fixed service executor.

      I'm proposing we change from this format:

      "Current format"
      serverStatus: {
          "connections" : {
              "current" : 1,
              "available" : 4,
              "totalCreated" : 1,
              "active" : 1,
              "threaded" : 1,
              "limitExempt" : 1,
              "exhaustIsMaster" : 0,
              "awaitingTopologyChanges" : 0,
              "adminConnections" : {
                  "executor" : "reserved",
                  "threadsRunning" : 3,
                  "readyThreads" : 3,
                  "startingThreads" : 0
              }
          },
          "network" : {
              "serviceExecutorTaskStats" : {
                  "executor" : "passthrough",
                  "threadsRunning" : 1
              }
          }
      }
      

      To this format:

      "New format"
      serverStatus: {
          "connections" : {
              "current" : 1,
              "available" : 4,
              "totalCreated" : 1,
              "active" : 1,
              "threaded" : 1,
              "limitExempt" : 1,
              "exhaustIsMaster" : 0,
              "awaitingTopologyChanges" : 0
          },
          "network" : {
              "serviceExecutorTaskStats" : {
                  "passthrough" : {
                      "threadsRunning" : 1
                  },
                  "fixed" : {
                      "threadsRunning" : 1,
                      "tasksRunning" : 0,
                      "tasksWaiting" : 0
                  },
                  "reserved" : {
                      "threadsRunning" : 3,
                      "readyThreads" : 3,
                      "startingThreads" : 0
                  }
              }
          }
      }
      

            Assignee:
            ben.caimano@mongodb.com Benjamin Caimano (Inactive)
            Reporter:
            ben.caimano@mongodb.com Benjamin Caimano (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved: