Collect query stats for distinct on standalone

XMLWordPrintableJSON

    • Type: Task
    • Resolution: Fixed
    • 8.1.0-rc0
    • Affects Version/s: None
    • Component/s: None
    • None
    • Query Integration
    • Fully Compatible
    • None
    • 0
    • None
    • None
    • None
    • None
    • None
    • None
    • None

      Collect statistics for distinct commands on mongod. This feature should be feature flag guarded

      The distinct command lives at distinct.cpp.
      query_stats.cpp will be useful for all the query stats related functions like registerRequest(), writeQueryStats().

      For standalone, we care about collectQueryStatsOnMongod.

      find_cmd.cpp would be a good example to see where registerRequest() is called, and take a look at writeQueryStatsOnCursorDisposeOrKill() in clientcursor.cpp to see how the stats are collected.

              Assignee:
              Claudia Cortell (Inactive)
              Reporter:
              Chris Hutchinson (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

                Created:
                Updated:
                Resolved: