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

Collect query stats for distinct on standalone

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

      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@mongodb.com Claudia Cortell (Inactive)
            Reporter:
            chris.hutchinson@mongodb.com Chris Hutchinson
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved: