Uploaded image for project: 'Core Server'
  1. Core Server
  2. SERVER-20997

Correlation facility for tracing

    • Type: Icon: Question Question
    • Resolution: Done
    • Priority: Icon: Trivial - P5 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.

            Assignee:
            stephen.steneker@mongodb.com Stennie Steneker (Inactive)
            Reporter:
            onyxmaster Aristarkh Zagorodnikov
            Votes:
            0 Vote for this issue
            Watchers:
            5 Start watching this issue

              Created:
              Updated:
              Resolved: