[SERVER-76280] Add CQF planSummary and execTime to CurOp Created: 19/Apr/23  Updated: 26/Jun/23

Status: Open
Project: Core Server
Component/s: None
Affects Version/s: None
Fix Version/s: None

Type: Task Priority: Major - P3
Reporter: Alya Berciu Assignee: Backlog - Query Optimization
Resolution: Unresolved Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Issue Links:
Depends
Related
is related to SERVER-70142 [CQF] Populate planSummary field Closed
Assigned Teams:
Query Optimization
Sprint: QO 2023-05-15
Participants:

 Description   

Add the following metrics to CurOp (or CurOp->debug()) so that we can later surface them to evergreen:

  • CQF plan summary, specifying if a collection scan or an index scan was used
  • Query latency in microseconds (it is already present in millis, but it seems useful since the other time components are in micros and millis are truncated)

Generated at Thu Feb 08 06:32:17 UTC 2024 using Jira 9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66.