[SERVER-67241] Log metrics for first ingress hello command Created: 13/Jun/22  Updated: 29/Oct/23  Resolved: 29/Nov/22

Status: Closed
Project: Core Server
Component/s: None
Affects Version/s: None
Fix Version/s: 6.3.0-rc0

Type: Task Priority: Major - P3
Reporter: George Wangensteen Assignee: Vojislav Stojkovic
Resolution: Fixed Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Backwards Compatibility: Fully Compatible
Sprint: Service Arch 2022-10-17, Service Arch 2022-10-31, Service Arch 2022-11-14, Service Arch 2022-11-28, Service Arch 2022-12-12
Participants:

 Description   

When a client connects to a MongoDB server, it first runs a hello command as part of the MongoDB handshake. As part of processing this initial command, the server should log the following measurements in a single "hello completed" log line:

-> What time the command was received

-> Duration of processing/running the command

-> Duration of sinking the response back to the network

-> Code given as response to the command ("ok")

These measurements will help us diagnose bottlenecks/issues in ingress connection establishment.



 Comments   
Comment by Githook User [ 22/Nov/22 ]

Author:

{'name': 'Vojislav Stojkovic', 'email': 'vojislav.stojkovic@mongodb.com', 'username': 'vstojkovic-mongodb'}

Message: SERVER-67241 Log metrics for first ingress hello command
Branch: master
https://github.com/mongodb/mongo/commit/95bb1d8a0f607f73d03d2e76ac94be086e61727c

Generated at Thu Feb 08 06:07:38 UTC 2024 using Jira 9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66.