diff options
author | Gregory Wlodarek <gregory.wlodarek@mongodb.com> | 2022-04-07 20:01:30 +0000 |
---|---|---|
committer | Evergreen Agent <no-reply@evergreen.mongodb.com> | 2022-04-08 20:18:36 +0000 |
commit | f55557b31591d290835a87fa46c9ad49aab4dc36 (patch) | |
tree | 433697feb85dd011f157a81dc0342ae7d09a5f25 | |
parent | 3a2d3b25675702f89e2280d3e78e743660b66616 (diff) | |
download | mongo-f55557b31591d290835a87fa46c9ad49aab4dc36.tar.gz |
SERVER-60105 Record time-series writes to the global OpCounter
(cherry picked from commit 0e7af76ae586749bf71928963c857cb50f760b9b)
-rw-r--r-- | src/mongo/db/commands/write_commands.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/mongo/db/commands/write_commands.cpp b/src/mongo/db/commands/write_commands.cpp index 748f024ae89..10c65816743 100644 --- a/src/mongo/db/commands/write_commands.cpp +++ b/src/mongo/db/commands/write_commands.cpp @@ -1130,6 +1130,7 @@ public: } curOp.debug().additiveMetrics.ninserted = baseReply.getN(); + globalOpCounters.gotInserts(baseReply.getN()); } }; } cmdInsert; |