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

Expose metrics on idle versus active client threads

    XMLWordPrintableJSON

Details

    • 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

    Description

      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)

      Attachments

        Issue Links

          Activity

            People

              tyler.kaye@mongodb.com Tyler Kaye
              jason.carey@mongodb.com Jason Carey
              Votes:
              2 Vote for this issue
              Watchers:
              10 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: