ExportXMLWordPrintableJSON

    • Type: Task
    • Resolution: Unresolved
    • Priority: Major - P3
    • None
    • Affects Version/s: None
    • Component/s: None
    • DB Integration & Observability
    • None
    • None
    • None
    • None
    • None
    • None
    • None

      Collect shard-side query stats metrics for bulkWrite ops on mongos, building on the per-op registration from SERVER-137436.

      Scope

      • Add an includeQueryStatsMetricsForOpIndex field to bulkWrite update/delete/insert ops, and a per-op queryStatsMetrics field to the bulkWrite reply, mirroring the update/delete/insert command IDL in write_ops.idl.
      • On mongos, set includeQueryStatsMetricsForOpIndex on shard-bound bulkWrite ops that were registered for query stats, and aggregate the returned per-op metrics into the mongos entry for that op.

      Suggested split

      1. IDL: add the request and reply fields (no behavior change).
      2. mongos: request and aggregate the metrics.

            Assignee:
            Unassigned
            Reporter:
            Mariano Shaar
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated: