Add observability for self-originated connections

XMLWordPrintableJSON

    • Type: Task
    • Resolution: Unresolved
    • Priority: Major - P3
    • None
    • Affects Version/s: None
    • Component/s: None
    • Networking & Observability
    • None
    • None
    • None
    • None
    • None
    • None
    • None

      It's possible for the server to make a connection to itself to run a command instead of running it locally (see SERVER-123395). We should add observability into FTDC that keeps track of how often this happens. 

      One way we can do this is to check if the remote socket address is equal to the local socket address when creating a new Session.

            Assignee:
            Unassigned
            Reporter:
            Joseph Prince
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated: