Replace ObservableMutex inline acquisition stats with OTel counters

XMLWordPrintableJSON

    • Type: Task
    • Resolution: Unresolved
    • Priority: Major - P3
    • None
    • Affects Version/s: None
    • Component/s: None
    • None
    • Networking & Observability
    • N&O 2026-07-20
    • None
    • None
    • None
    • None
    • None
    • None
    • None

      Please see the preceding work here.

      Investigate whether replacing ObservableMutex inline acquisition stats with direct OTel counters introduces noticeable performance overhead on the hot path.

      If the overhead is acceptable, proceed with replacing inline stats with direct counters. Otherwise, look into implementing a specialized OTel counter wrapper for this performance-critical case and re-validate performance before moving forward.

      Finally, remove `installObservableMutexMetrics` from the metrics installer.

            Assignee:
            Alina Zeng
            Reporter:
            Alina Zeng
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated: