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

Add metrics for ingress connection authentication

    • Type: Icon: Improvement Improvement
    • Resolution: Fixed
    • Priority: Icon: Major - P3 Major - P3
    • 6.3.0-rc0
    • Affects Version/s: None
    • Component/s: None
    • Fully Compatible
    • Security 2022-09-05, Security 2022-09-19, Security 2022-10-03, Security 2022-10-17, Security 2022-10-31, Security 2022-11-14, Security 2022-11-28, Security 2022-12-12
    • None
    • 3
    • None
    • None
    • None
    • None
    • None
    • None

      Record the duration of the authentication conversation for each ingress connection, measuring the duration in milliseconds between the start of authentication (i.e. the moment when saslStart or authenticate command was received) and the success/failure of authentication.

      Emit a single authentication success/failure log-line for each ingress connection, at default logging level, reporting the duration of the conversation.

      Emit a default log-level log statement at the conclusion of each portion of the conversation that requires disk access, network round-trips, or intensive CPU use (i.e. for crypto) with the duration in milliseconds for that portion of the conversation.

      Add a counter that tracks the cumulative time spent doing MongoDB-tier authentication for ingress connections and report it in serverStatus.

            Assignee:
            adam.rayner@mongodb.com Adam Rayner
            Reporter:
            vojislav.stojkovic@mongodb.com Vojislav Stojkovic
            Votes:
            0 Vote for this issue
            Watchers:
            6 Start watching this issue

              Created:
              Updated:
              Resolved: