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

Make mongos capture read/write latency for a collection

    • Type: Icon: Task Task
    • Resolution: Unresolved
    • Priority: Icon: Major - P3 Major - P3
    • None
    • Affects Version/s: None
    • Component/s: None
    • Labels:
      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@mongodb.com Garaudy Etienne
            Reporter:
            cheahuychou.mao@mongodb.com Cheahuychou Mao
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

              Created:
              Updated: