Uploaded image for project: 'Documentation'
  1. Documentation
  2. DOCS-12784

Docs for SERVER-41287: Add count of instances when flow control is engaged

      Description

      Description:

      This ticket adds fields to serverStatus output.

      Engineering Ticket Description:

      It will be useful for identifying mongod instances where flow control has been engaged to have cumulative metrics about the number of times flow control has been engaged on a mongod instance since startup, and the cumulative time for which flow control has been engaged. For the purposes of this ticket, flow control being "engaged" means the isLagged metric is 1, i.e., the current majority committed lag is greater than some established threshold percentage of the configured target maximum lag. These new metrics would be based on the isLagged metric, so maybe these could be named

      • isLaggedCount - incremented every time isLagged goes from 0 to 1
      • isLaggedTimeMicros - incremented every time isLagged goes to 0 by the elapsed time since it last went to 1.

      Scope of changes

      Impact to Other Docs

      MVP (Work and Date)

      Resources (Scope or Design Docs, Invision, etc.)

            Assignee:
            kay.kim@mongodb.com Kay Kim (Inactive)
            Reporter:
            kay.kim@mongodb.com Kay Kim (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved:
              4 years, 38 weeks, 5 days ago