Logging if connection establishment exceeds a given threshold

XMLWordPrintableJSON

    • Type: Improvement
    • Resolution: Unresolved
    • Priority: Unknown
    • None
    • Component/s: CMAP, Logging
    • None
    • Needed

      Something similar was introduced for the MongoDB Server with SERVER-64964, however this change was limited to only the server's components. Drivers could also introduce a similar feature to capture and display information when connection establishment exceeds a set threshold.

      For example, the server introduced slowConnectionThresholdMillis which defaults to 100ms, and when exceeded will output a log entry that contains details about:

      • DNS Resolution Time
      • TCP Connection Time
      • TLS Handshake Time
      • Authentication Time

            Assignee:
            Unassigned
            Reporter:
            Alex Bevilacqua
            Votes:
            2 Vote for this issue
            Watchers:
            8 Start watching this issue

              Created:
              Updated: