Mark resharding commands as internal for query stats

XMLWordPrintableJSON

    • Type: Task
    • Resolution: Unresolved
    • Priority: Major - P3
    • None
    • Affects Version/s: None
    • Component/s: None
    • None
    • Query Integration
    • Fully Compatible
    • None
    • None
    • None
    • None
    • None
    • None
    • None

      We sometimes record internal operations (resharding, etc.) in query stats. These operations should be marked as internal, We should also confirm we record some types of resharding/balancing operations. Notably, user queries where mongos knows its an external client and then mongos send a query to mongod should not be marked as internal for the purposes of query stats. This query should still be considered external (or not marked as internal)

      Add isInternalQuery (or similar) to the key so internal operations are a separate entry from user operations. 

            Assignee:
            Unassigned
            Reporter:
            Erin Zhu
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated: