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

Add additional initial sync metrics to logs

    XMLWordPrintable

    Details

    • Type: Task
    • Status: Open
    • Priority: Major - P3
    • Resolution: Unresolved
    • Affects Version/s: None
    • Fix Version/s: Backlog
    • Component/s: None

      Description

      In order to have a better picture of how our initial sync is performing in current and previous versions, we need to add more metrics to our logs.

      Current important metrics that we already have in our logs -

      • failedInitialSyncAttempts
      • approxTotalDataSize
      • approxTotalBytesCopied
      • totalInitialSyncElapsedMillis
      • initialSyncAttempts
      • appliedOps
      • databases.databasesCloned

      Future metrics to add (names and methods are TBD)

      • successfulInitialSyncAttempts
      • resumedInitialSyncAttempts
      • collectionsCloned = length of listCollections response
      • <collection>.approxBytesCopied = collStats.avgObjSize * documentsCopied
      • indexesCloned = dbStats.indexes
      • totalIndexSize = dbStats.indexSize
      • totalInitialSyncOplogElapsedMillis = time for oplog application phase¬†
      • initialSyncMethod¬†
      • resycOrAddingNode¬†

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              alan.zheng Alan Zheng
              Reporter:
              evin.roesle Evin Roesle (Inactive)
              Participants:
              Votes:
              0 Vote for this issue
              Watchers:
              7 Start watching this issue

                Dates

                Created:
                Updated: