Skip to content

Commit 9211603

Browse files
committed
fix: random order for promethus
1 parent 84c151c commit 9211603

File tree

1 file changed

+0
-1
lines changed
  • opentelemetry-sdk/src/metrics/internal

1 file changed

+0
-1
lines changed

opentelemetry-sdk/src/metrics/internal/mod.rs

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -136,7 +136,6 @@ impl<AU: AtomicallyUpdate<T>, T: Number, O: Operation> ValueMap<AU, T, O> {
136136
O::update_tracker(&*new_tracker, measurement, index);
137137

138138
// Insert tracker with the attributes in the provided and sorted orders
139-
trackers.insert(attributes.to_vec(), new_tracker.clone());
140139
trackers.insert(sorted_attrs, new_tracker);
141140

142141
self.count.fetch_add(1, Ordering::SeqCst);

0 commit comments

Comments
 (0)