summaryrefslogtreecommitdiff
path: root/jstests/hooks
diff options
context:
space:
mode:
authorEric Milkie <milkie@10gen.com>2021-05-03 14:22:15 -0400
committerEvergreen Agent <no-reply@evergreen.mongodb.com>2021-05-03 20:30:23 +0000
commit960f5deb14520af3076c9164fbf8b3cbcca0560f (patch)
treec36a300cc4060449974eab032d197813034defb5 /jstests/hooks
parent20b86d14a58f5862fa0eeec1f2bfac3161797730 (diff)
downloadmongo-960f5deb14520af3076c9164fbf8b3cbcca0560f.tar.gz
SERVER-55556 add new totalUnitsWritten metric; add new localTime field to operationMetrics output
totalUnitsWritten is a metric that represents the number of bytes written to a document plus any index entries that follow, prior to writing another document; these bytes are then translated into Units as per the totalUnitWriteSizeBytes parameter. Additionally, a new field localTime will now appear in every BSONArray (per database) included in the $operationMetrics aggregation stage
Diffstat (limited to 'jstests/hooks')
-rw-r--r--jstests/hooks/run_aggregate_metrics_background.js1
1 files changed, 1 insertions, 0 deletions
diff --git a/jstests/hooks/run_aggregate_metrics_background.js b/jstests/hooks/run_aggregate_metrics_background.js
index e6d53b6a6f0..32335852fcd 100644
--- a/jstests/hooks/run_aggregate_metrics_background.js
+++ b/jstests/hooks/run_aggregate_metrics_background.js
@@ -25,6 +25,7 @@ const aggregateMetricsBackground = function(host) {
"docUnitsWritten",
"idxEntryBytesWritten",
"idxEntryUnitsWritten",
+ "totalUnitsWritten",
"cpuNanos",
"db",
"primaryMetrics",