[SERVER-4272] Add requestor hostname/ip address to profiling information Created: 14/Nov/11  Updated: 16/Jun/17  Resolved: 16/Jun/17

Status: Closed
Project: Core Server
Component/s: Admin
Affects Version/s: None
Fix Version/s: None

Type: New Feature Priority: Major - P3
Reporter: Brandon Greenwood Assignee: DO NOT USE - Backlog - Platform Team
Resolution: Done Votes: 3
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Participants:

 Description   

The profiling entries should include the ipaddress of the machine that the operation came from. This will be helpful in debugging issues as well as generate statistics around what a typical session looks like in the application.



 Comments   
Comment by Ian Whalen (Inactive) [ 15/Jun/17 ]

Is it possible the functionality requested here was covered by the client metadata project in 3.4?

Comment by Scott Hernandez (Inactive) [ 14/Nov/11 ]

In 2.x "client" is already available in profile info:

> db.system.profile.findOne()
{
"ts" : ISODate("2011-10-26T00:50:36.107Z"),
"op" : "command",
"ns" : "test.$cmd",
"command" :

{ "collstats" : "system.profile", }

,
"ntoreturn" : 1,
"responseLength" : 245,
"millis" : 0,
"client" : "127.0.0.1",
"user" : ""
}

Generated at Thu Feb 08 03:05:30 UTC 2024 using Jira 9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66.