Skip to content

Use sync.Map and atomics for lastvalue aggregations - #7478

Merged
dmathieu merged 3 commits into
open-telemetry:mainfrom
dashpole:optimize_lastvalue
Dec 16, 2025
Merged

Use sync.Map and atomics for lastvalue aggregations#7478
dmathieu merged 3 commits into
open-telemetry:mainfrom
dashpole:optimize_lastvalue

Merge branch 'main' into optimize_lastvalue

a97f113
Select commit
Loading
Failed to load commit list.
Codecov / codecov/project succeeded Dec 15, 2025 in 0s

86.2% (+0.0%) compared to 19a5a68

View this Pull Request on Codecov

86.2% (+0.0%) compared to 19a5a68

Details

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 86.2%. Comparing base (19a5a68) to head (a97f113).

Additional details and impacted files

Impacted file tree graph

@@          Coverage Diff          @@
##            main   #7478   +/-   ##
=====================================
  Coverage   86.2%   86.2%           
=====================================
  Files        302     302           
  Lines      21971   21985   +14     
=====================================
+ Hits       18950   18963   +13     
- Misses      2640    2641    +1     
  Partials     381     381           
Files with missing lines Coverage Δ
sdk/metric/internal/aggregate/aggregate.go 100.0% <100.0%> (ø)
sdk/metric/internal/aggregate/lastvalue.go 100.0% <100.0%> (ø)

... and 2 files with indirect coverage changes

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.