-
Type: Question
-
Resolution: Done
-
Priority: Trivial - P5
-
None
-
Affects Version/s: None
-
Component/s: Logging
-
None
Is there some kind of correlation facility for tracing, so some kind of end-to-end tracing analysis could be performed with MongoDB logs?
What I'm talking about is the ability to pass an arbitrary string with every request (think X-Request-Id in terms of HTTP) that gets logged whenever anything associated with this request is processed (error happens, timeout is exceeded, request is recorded to a profiling collection if it's enabled, etc.). I understand that post-processing correlation can be done by tracing used connection IDs on the client side, but this is hard to automate and requires more logging on the database client side.
This is marked as a question, not an improvement, because I'm not sure I'm not overlooking something obvious.