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

Add serverStatus reporting for query analysis

    • Type: Icon: Task Task
    • Resolution: Fixed
    • Priority: Icon: Major - P3 Major - P3
    • 7.0.0-rc0
    • Affects Version/s: None
    • Component/s: None
    • None
    • Sharding NYC
    • Fully Compatible
    • Sharding NYC 2023-02-06, Sharding NYC 2023-02-20, Sharding NYC 2023-03-06
    • 145

      From the design:

      The serverStatus command response on mongos and mongod will include a “queryAnalyzers” section with the following diagnostics:

      {
          activeCollections: <integer>, // On a shared cluster, this is a mongos-only field since shardsvr mongods don’t know about sample rates.  
          totalCollections: <integer>,
          totalSampledReadsCount: <integer>,
          totalSampledWritesCount: <integer>,
          totalSampledReadsBytes: <integer>,
          totalSampledWritesBytes: <integer>,
      }
      

            Assignee:
            israel.hsu@mongodb.com Israel Hsu
            Reporter:
            cheahuychou.mao@mongodb.com Cheahuychou Mao
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

              Created:
              Updated:
              Resolved: