[SERVER-24496] Merge collStats output with $collStats aggregation source Created: 09/Jun/16  Updated: 21/Feb/18  Resolved: 16/Aug/16

Status: Closed
Project: Core Server
Component/s: Diagnostics
Affects Version/s: None
Fix Version/s: 3.3.12

Type: Improvement Priority: Major - P3
Reporter: Kyle Suarez Assignee: Kevin Albertson
Resolution: Done Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Issue Links:
Depends
is depended on by SERVER-33435 Remove the collstats command Backlog
Documented
is documented by DOCS-8914 Document the $collStats aggregation s... Closed
Backwards Compatibility: Fully Compatible
Sprint: Integration 2016-08-29
Participants:

 Description   

After $collStats is implemented for the operation latency histogram, the statistics in the db.collection.collStats() should be merged in, and the collection method can be a shell helper for the aggregation source.

Without this change, it would be very confusing to have both $collStats and db.collection.collStats(), which do two completely different things.



 Comments   
Comment by Kevin Albertson [ 16/Aug/16 ]

Will need to document the new storageStats option to the $collStats stage

Comment by Githook User [ 16/Aug/16 ]

Author:

{u'username': u'kevinAlbs', u'name': u'Kevin Albertson', u'email': u'kevin.albertson@10gen.com'}

Message: SERVER-24496: Add collStats command output to $collStats stage
Branch: master
https://github.com/mongodb/mongo/commit/551bcf3a4e31a2727b9877bacaf34c529078963f

Comment by Kyle Suarez [ 09/Jun/16 ]

Besides documenting the new aggregation source, the collStats() collection method will need to be updated with the new format and behavior.

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