-
Type: Improvement
-
Resolution: Fixed
-
Priority: Unknown
-
Affects Version/s: None
-
Component/s: None
-
None
Timeseries collections do not return a count from the $collStats aggregation.
Example storageStats document:
{ size: 658, timeseries: { bucketsNs: 'test.system.buckets.weather', bucketCount: 1, avgBucketSize: 658, numBucketInserts: 1, numBucketUpdates: 0, numBucketsOpenedDueToMetadata: 1, numBucketsClosedDueToCount: 0, numBucketsClosedDueToSchemaChange: 0, numBucketsClosedDueToSize: 0, numBucketsClosedDueToTimeForward: 0, numBucketsClosedDueToTimeBackward: 0, numBucketsClosedDueToMemoryThreshold: 0, numCommits: 1, numWaits: 0, numMeasurementsCommitted: 12, avgNumMeasurementsPerCommit: 12, numBytesUncompressed: 0, numBytesCompressed: 0, numSubObjCompressionRestart: 0, numCompressedBuckets: 0, numUncompressedBuckets: 0, numFailedDecompressBuckets: 0 }, numOrphanDocs: 0, storageSize: 658, freeStorageSize: 0, capped: false, ... nindexes: 0, indexDetails: {}, indexBuilds: [], totalIndexSize: 0, indexSizes: {}, totalSize: 658, scaleFactor: 1 }