summaryrefslogtreecommitdiff
path: root/src/mongo/client
diff options
context:
space:
mode:
authorDaniel Vitor Morilha <daniel.morilha@mongodb.com>2022-01-06 17:08:54 +0000
committerEvergreen Agent <no-reply@evergreen.mongodb.com>2022-01-06 17:43:50 +0000
commit4ae8b3f29485b8a25877b8fd7e67787e9b3996de (patch)
tree7905d7c12cd69ccd25347f098a002702664663e6 /src/mongo/client
parent60ebacced58fcee32be4e875e2a5a106af86fe48 (diff)
downloadmongo-4ae8b3f29485b8a25877b8fd7e67787e9b3996de.tar.gz
SERVER-55055 Add cumulative metric for the total refreshed connections
Diffstat (limited to 'src/mongo/client')
-rw-r--r--src/mongo/client/connpool.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/mongo/client/connpool.cpp b/src/mongo/client/connpool.cpp
index 3a396fa782b..e52bd54d102 100644
--- a/src/mongo/client/connpool.cpp
+++ b/src/mongo/client/connpool.cpp
@@ -590,6 +590,7 @@ void DBConnectionPool::appendConnectionStats(executor::ConnectionPoolStats* stat
executor::ConnectionStatsPer hostStats{static_cast<size_t>(i->second.numInUse()),
static_cast<size_t>(i->second.numAvailable()),
static_cast<size_t>(i->second.numCreated()),
+ 0,
0};
stats->updateStatsForHost("global", host, hostStats);
}