Distinguish between FCBIS and LIS OTEL metricsĀ 

XMLWordPrintableJSON

    • Type: Task
    • Resolution: Fixed
    • Priority: Major - P3
    • 9.1.0-rc0
    • Affects Version/s: None
    • Component/s: None
    • Replication
    • Fully Compatible
    • Repl 2026-08-03, Repl 2026-08-17
    • None
    • None
    • None
    • None
    • None
    • None
    • None

      Currently, our OTEL metrics for initial sync each conflate both FCBIS and LIS. We should split each of these three metrics into their own metrics.

      src/mongo/db/repl/initial_sync/initial_syncer_common_stats.h:42-55

      // The number of initial sync attempts that have failed since server startup. Each instance of
      // InitialSyncer may run multiple attempts to fulfill an initial sync request that is triggered
      // when InitialSyncer::startup() is called.
      extern otel::metrics::Counter<int64_t>& initialSyncFailedAttempts;
      
      // The number of initial sync requests that have been requested and failed. Each instance of
      // InitialSyncer (upon successful startup()) corresponds to a single initial sync request.
      // This value does not include the number of times where a InitialSyncer is created successfully
      // but failed in startup().
      extern otel::metrics::Counter<int64_t>& initialSyncFailures;
      
      // The number of initial sync requests that have been requested and completed successfully. Each
      // instance of InitialSyncer corresponds to a single initial sync request.
      extern otel::metrics::Counter<int64_t>& initialSyncCompletes;
      

            Assignee:
            Joseph Obaraye
            Reporter:
            Joseph Obaraye
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved: