diff options
author | Vojislav Stojkovic <vojislav.stojkovic@mongodb.com> | 2022-11-22 17:25:24 +0000 |
---|---|---|
committer | Evergreen Agent <no-reply@evergreen.mongodb.com> | 2022-11-22 19:14:16 +0000 |
commit | 95bb1d8a0f607f73d03d2e76ac94be086e61727c (patch) | |
tree | 052c3c0a8ac7ab8ab7d9d22c6aea9a2db6e20f27 /src/mongo/transport/service_entry_point_impl.cpp | |
parent | 57ee472660e709c78fa705f43a86853cf61f1d16 (diff) | |
download | mongo-95bb1d8a0f607f73d03d2e76ac94be086e61727c.tar.gz |
SERVER-67241 Log metrics for first ingress hello command
Diffstat (limited to 'src/mongo/transport/service_entry_point_impl.cpp')
-rw-r--r-- | src/mongo/transport/service_entry_point_impl.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/mongo/transport/service_entry_point_impl.cpp b/src/mongo/transport/service_entry_point_impl.cpp index 67e04440989..bffdb51d86e 100644 --- a/src/mongo/transport/service_entry_point_impl.cpp +++ b/src/mongo/transport/service_entry_point_impl.cpp @@ -50,6 +50,7 @@ #include "mongo/stdx/unordered_map.h" #include "mongo/stdx/variant.h" #include "mongo/transport/hello_metrics.h" +#include "mongo/transport/ingress_handshake_metrics.h" #include "mongo/transport/service_entry_point.h" #include "mongo/transport/service_entry_point_impl_gen.h" #include "mongo/transport/service_executor.h" @@ -58,7 +59,6 @@ #include "mongo/transport/service_executor_reserved.h" #include "mongo/transport/service_executor_synchronous.h" #include "mongo/transport/session.h" -#include "mongo/transport/session_auth_metrics.h" #include "mongo/transport/session_workflow.h" #include "mongo/util/duration.h" #include "mongo/util/hierarchical_acquisition.h" @@ -294,7 +294,7 @@ void ServiceEntryPointImpl::configureServiceExecutorContext(ServiceContext::Uniq void ServiceEntryPointImpl::startSession(transport::SessionHandle session) { invariant(session); - transport::SessionAuthMetrics::get(*session).onSessionStarted(_svcCtx->getFastClockSource()); + transport::IngressHandshakeMetrics::get(*session).onSessionStarted(_svcCtx->getTickSource()); // Setup the restriction environment on the Session, if the Session has local/remote Sockaddrs const auto& remoteAddr = session->remoteAddr(); |