diff options
Diffstat (limited to 'src/mongo/db/pipeline/document_source_coll_stats.idl')
-rw-r--r-- | src/mongo/db/pipeline/document_source_coll_stats.idl | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/src/mongo/db/pipeline/document_source_coll_stats.idl b/src/mongo/db/pipeline/document_source_coll_stats.idl index e0babb11ef6..18efd4d2c7f 100644 --- a/src/mongo/db/pipeline/document_source_coll_stats.idl +++ b/src/mongo/db/pipeline/document_source_coll_stats.idl @@ -39,7 +39,7 @@ structs: LatencyStatsSpec: description: Represents the 'latencyStats' argument to the $collStats stage. strict: true - fields: + fields: histograms: description: Adds latency histogram information to the embedded documents in latencyStats if true. type: optionalBool @@ -67,3 +67,8 @@ structs: validator: callback: validateObjectIsEmpty optional: true + $_requestOnTimeseriesView: + description: When set to true, $collStats stage requests statistics from the view namespace. + When set to false, $collStats stage requests statistics from the underlying collection. + cpp_name: requestOnTimeseriesView + type: optionalBool |