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

Report number of databases in resource consumption serverStatus section

    • Type: Icon: Improvement Improvement
    • Resolution: Fixed
    • Priority: Icon: Major - P3 Major - P3
    • 4.9.0
    • Affects Version/s: None
    • Component/s: None
    • Labels:
      None
    • Fully Compatible
    • Execution Team 2020-12-28

      Report the number of databases that have globally-aggregated metrics in the 'resourceConsumption' serverStatus section.

      This information is already accessible by using the following aggregation pipeline:

      > db.aggregate([{$operationMetrics: {}}, {$count: "num"}]);
      { "num" : 42 }
      

      This comes from a Cloud request to put this diagnostic information in serverStatus for consumers that are already fetching the serverStatus periodically.

            Assignee:
            louis.williams@mongodb.com Louis Williams
            Reporter:
            louis.williams@mongodb.com Louis Williams
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: