We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 33af9cc commit 6ca0b1dCopy full SHA for 6ca0b1d
src/go/mongolib/stats/stats.go
@@ -96,7 +96,7 @@ func (s *Stats) Add(doc proto.SystemProfile) error {
96
QueryHash: doc.QueryHash,
97
AppName: doc.AppName,
98
Client: doc.Client,
99
- User: doc.User,
+ User: strings.Split(doc.User, "@")[0],
100
Comments: doc.Comments,
101
}
102
s.setQueryInfoAndCounters(key, qiac)
0 commit comments