Report number of databases in resource consumption serverStatus section

XMLWordPrintableJSON

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

      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
            Reporter:
            Louis Williams
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: