SERVER-137438Backlog

Attach metrics to bulkWrite responses on shards

On shards, when a bulkWrite op carries {{includeQueryStatsMetricsForOpIndex}}, attach that op's query stats metrics (keys/docs examined, etc.) to the bulkWrite reply, as update/delete/insert commands already do. Depends on the bulkWrite IDL fields from SERVER-137437. mongos aggregation of these metrics is SERVER-137437.

Affected Versions
Versions known to exhibit this issue

No affected versions recorded.

Fixed Versions
Versions that include the fix

No fix available yet.

Components
Server components related to this issue

No components specified.

Labels
Tags and classification
dino-query-stats