Skip to content

Commit

Permalink
Add extra attribute and don't have them pre-sorted
Browse files Browse the repository at this point in the history
  • Loading branch information
Matthew Shapiro committed Nov 16, 2023
1 parent 639b61c commit 8c377ec
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion stress/src/metrics.rs
Original file line number Diff line number Diff line change
Expand Up @@ -38,9 +38,10 @@ fn test_counter() {
COUNTER.add(
1,
&[
KeyValue::new("attribute1", ATTRIBUTE_VALUES[index_first_attribute]),
KeyValue::new("attribute4", ATTRIBUTE_VALUES[index_third_attribute]),
KeyValue::new("attribute2", ATTRIBUTE_VALUES[index_second_attribute]),
KeyValue::new("attribute3", ATTRIBUTE_VALUES[index_third_attribute]),
KeyValue::new("attribute1", ATTRIBUTE_VALUES[index_first_attribute]),
],
);
}

0 comments on commit 8c377ec

Please sign in to comment.