diff options
author | Mariano Shaar <mariano.shaar@mongodb.com> | 2022-07-25 19:59:18 +0000 |
---|---|---|
committer | Evergreen Agent <no-reply@evergreen.mongodb.com> | 2022-07-25 20:44:42 +0000 |
commit | 47b350b3e07abe90a03fc1ed29ece8cbae5e8287 (patch) | |
tree | 48adddeb5f6c49fa2b926fdccdf1bc4b91237a00 /src/mongo/db/curop_metrics.cpp | |
parent | 551702840ef15f40b6db4f58f001872363eb9d48 (diff) | |
download | mongo-47b350b3e07abe90a03fc1ed29ece8cbae5e8287.tar.gz |
SERVER-64539 Add serverStatus metrics for the SBE $lookup project
Diffstat (limited to 'src/mongo/db/curop_metrics.cpp')
-rw-r--r-- | src/mongo/db/curop_metrics.cpp | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/mongo/db/curop_metrics.cpp b/src/mongo/db/curop_metrics.cpp index 526f779efa2..728c79472de 100644 --- a/src/mongo/db/curop_metrics.cpp +++ b/src/mongo/db/curop_metrics.cpp @@ -68,6 +68,8 @@ void recordCurOpMetrics(OperationContext* opCtx) { if (auto n = debug.additiveMetrics.writeConflicts.load(); n > 0) writeConflictsCounter.increment(n); + lookupPushdownCounters.incrementLookupCounters(CurOp::get(opCtx)->debug()); + queryEngineCounters.incrementQueryEngineCounters(CurOp::get(opCtx)); } |