[SERVER-70032] Collect and report operation CPU time by default Created: 28/Sep/22  Updated: 29/Oct/23  Resolved: 10/Feb/23

Status: Closed
Project: Core Server
Component/s: None
Affects Version/s: None
Fix Version/s: 7.0.0-rc0

Type: Improvement Priority: Major - P3
Reporter: Louis Williams Assignee: Louis Williams
Resolution: Fixed Votes: 0
Labels: louis-preferred, michael-preferred
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Issue Links:
Depends
Documented
is documented by DOCS-15854 Investigate changes in SERVER-70032: ... Closed
Problem/Incident
Related
related to SERVER-51667 Collect cpu time used per operation Closed
related to SERVER-73307 Make `CurOpStack` always store a poin... Closed
is related to SERVER-73185 Evaluate unit tests using multiple Cl... Backlog
Assigned Teams:
Storage Execution
Backwards Compatibility: Fully Compatible
Sprint: Execution Team 2023-02-20, Execution Team 2023-01-23, Execution Team 2023-02-06
Participants:
Linked BF Score: 148

 Description   

We collect per-operation CPU time (SERVER-51667) but we do not enable this by default. Collect this by default so that it can be reported in slow query logs and the profiler.



 Comments   
Comment by Githook User [ 10/Feb/23 ]

Author:

{'name': 'Louis Williams', 'email': 'louis.williams@mongodb.com', 'username': 'louiswilliams'}

Message: SERVER-70032 Report CPU time in slow query logs and profiler as cpuNanos
Branch: master
https://github.com/mongodb/mongo/commit/d72f39af21ee012d54c0f49245790bc6d9119b6d

Comment by Githook User [ 30/Jan/23 ]

Author:

{'name': 'dziana.hurynovich', 'email': 'dziana.hurynovich@mongodb.com', 'username': ''}

Message: Revert "SERVER-70032 Report CPU time in slow query logs and profiler as cpuNanos"

This reverts commit 0d5ad158ceb6fea1004034bcb78c82c9daf69eac.
Branch: master
https://github.com/mongodb/mongo/commit/b1195b271c5944cd9b68763b91697828f5cda58b

Comment by Githook User [ 27/Jan/23 ]

Author:

{'name': 'Louis Williams', 'email': 'louis.williams@mongodb.com', 'username': 'louiswilliams'}

Message: SERVER-70032 Report CPU time in slow query logs and profiler as cpuNanos
Branch: master
https://github.com/mongodb/mongo/commit/0d5ad158ceb6fea1004034bcb78c82c9daf69eac

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