Make mongos capture read/write latency for a collection

XMLWordPrintableJSON

    • Type: Task
    • Resolution: Unresolved
    • Priority: Major - P3
    • None
    • Affects Version/s: None
    • Component/s: None
    • None
    • Cluster Scalability
    • None
    • 3
    • None
    • None
    • None
    • None
    • None
    • None

      Mongod captures the latency metrics of reads and writes to a collection and exposes them via $collStats. However, mongos doesn't do that. Running $collStats against a mongos returns the latencyStats for each shard in a separate document along with the other stats. Similar to SERVER-46478, we should make mongos capture per-collection latency metrics to allow for performance analysis after (re)sharding and other cases.

            Assignee:
            Garaudy Etienne
            Reporter:
            Cheahuychou Mao
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

              Created:
              Updated: