Expose metrics on idle versus active client threads

XMLWordPrintableJSON

    • 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
    • None
    • 3
    • None
    • None
    • None
    • None
    • None
    • None
    • None

      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
              Reporter:
              Mira Carey
              Votes:
              2 Vote for this issue
              Watchers:
              10 Start watching this issue

                Created:
                Updated:
                Resolved: