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

Track total number of started transactions

    • Fully Compatible
    • v4.0
    • Repl 2018-06-18

      We want to track the total number of transactions started since the last server startup. To do this, we should add a totalStarted counter field to ServerTransactionsMetrics that tracks this metric. We will increment this counter every time a new multi-document transaction starts. Additionally, we will need to add a totalStarted field to the transactions_stats.idl class, so that we can serialize this counter to the serverStatus output object.

            Assignee:
            nathan.louie Nathan Louie
            Reporter:
            william.schultz@mongodb.com Will Schultz
            Votes:
            0 Vote for this issue
            Watchers:
            5 Start watching this issue

              Created:
              Updated:
              Resolved: