You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Commit 029bc50
Browse filesBrowse the repository at this point in the historyBrowse files
[METRICS SDK] Use std::mutex for SyncMetricStorage record-path lock (open-telemetry#4245)
On Windows the SpinLockMutex final back-off sleep_for(1ms) is rounded up to the ~15.6 ms timer quantum, so a waiter contending on a hot instrument stalls a full quantum and inflates tail latency. Switch only SyncMetricStorage::attribute_hashmap_lock_ to std::mutex; the API SpinLockMutex and all other SDK locks are unchanged.
0 commit comments