File tree Expand file tree Collapse file tree 2 files changed +16
-4
lines changed Expand file tree Collapse file tree 2 files changed +16
-4
lines changed Original file line number Diff line number Diff line change @@ -280,8 +280,9 @@ changeStreamPreImages
280
280
scannedCollections : <num>,
281
281
scannedInternalCollections : <num>,
282
282
maxStartWallTimeMillis : <num>,
283
- timeElapsedMillis : <num>
284
- }
283
+ timeElapsedMillis : <num>,
284
+ },
285
+ expireAfterSeconds : <num>
285
286
}
286
287
287
288
A document that reports metrics related to
@@ -336,6 +337,15 @@ A document that reports metrics related to
336
337
- Cumulative time in milliseconds of all deletion passes by the
337
338
purging job.
338
339
340
+ .. serverstatus:: changeStreamPreImages.expireAfterSeconds
341
+
342
+ .. versionadded:: 7.1
343
+
344
+ Amount of time in seconds that MongoDB retains pre-images. If
345
+ :parameter:`~changeStreamOptions.preAndPostImages.expireAfterSeconds`
346
+ is not defined, this metric does not appear in the ``serverStatus``
347
+ output.
348
+
339
349
.. _server-status-connections:
340
350
341
351
connections
Original file line number Diff line number Diff line change @@ -113,10 +113,12 @@ serverStatus Output Change
113
113
output:
114
114
115
115
Change Stream Metrics
116
- :serverstatus:`metrics.changeStreams.showExpandedEvents`
116
+ - :serverstatus:`changeStreamPreImages.expireAfterSeconds`
117
+
118
+ - :serverstatus:`metrics.changeStreams.showExpandedEvents`
117
119
118
120
Query Stats Metrics
119
- :serverstatus:`queryStats`
121
+ - :serverstatus:`queryStats`
120
122
121
123
.. toctree::
122
124
:titlesonly:
You can’t perform that action at this time.
0 commit comments