Skip to content

Commit 433ff16

Browse files
dashpolebboreham
andauthored
Update sdk/metric/exemplar/storage.go
Co-authored-by: Bryan Boreham <[email protected]>
1 parent 77db4ee commit 433ff16

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

sdk/metric/exemplar/storage.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ type storage struct {
1919
//
2020
// This does not use []metricdata.Exemplar because it potentially would
2121
// require an allocation for trace and span IDs in the hot path of Offer.
22-
measurements []atomic.Value
22+
measurements []atomic.Pointer[measurement]
2323
}
2424

2525
func newStorage(n int) *storage {

0 commit comments

Comments
 (0)