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

Expose metrics on idle versus active client threads

    • Fully Compatible
    • v4.0
    • Service Arch 2018-10-08, Service Arch 2018-11-05, Service Arch 2018-11-19, Service Arch 2018-12-03, Service Arch 2018-12-17

      Exposing metrics in mongodb processes on whether client driven threads were active or idle would provide better insight into the overall utilization of the system and the disposition of client threads.

      One data point might come from incrementing a counter on client creation, then decrementing on entry to the MONGO_IDLE_THREAD_BLOCK (used internally to hide uninteresting callstacks for debugging). Another might only increment and decrement around top level calls to recv (to indicate threads engaged in client work, idle or not)

            Assignee:
            tyler.kaye@mongodb.com Tyler Kaye
            Reporter:
            mira.carey@mongodb.com Mira Carey
            Votes:
            2 Vote for this issue
            Watchers:
            10 Start watching this issue

              Created:
              Updated:
              Resolved: