Uploaded image for project: 'Compass '
  1. Compass
  2. COMPASS-6144

Investigate changes in SERVER-67703: Report sorter stats for queries in serverStatus

    • Type: Icon: Investigation Investigation
    • Resolution: Done
    • Priority: Icon: Major - P3 Major - P3
    • No version
    • Affects Version/s: None
    • Component/s: None
    • None
    • Not Needed

      Original Downstream Change Summary

      Added following fields to serverStatus:
      metrics.query.sort.spillToDisk: The total number of spills to disk from sort stages
      metrics.query.sort.totalKeysSorted: The number of keys that we've sorted.
      metrics.query.sort.totalBytesSorted: The amount of data we've sorted in bytes

      Description of Linked Ticket

      In SERVER-60455 we expose sorter stats for index builds in server status. Query seems to already track sorter spills so it would be useful to report it for queries in server status as well.

            Assignee:
            Unassigned Unassigned
            Reporter:
            backlog-server-pm Backlog - Core Eng Program Management Team
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: