Skip to content

Commit

Permalink
implement custom sorting for prometheus labelset. see: prometheus#543
Browse files Browse the repository at this point in the history
Signed-off-by: Syed Nihal <syed.nihal@nokia.com>
  • Loading branch information
wasim-nihal committed Feb 8, 2024
1 parent 08eb27d commit dd21376
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion model/labelset_test.go
Expand Up @@ -149,6 +149,6 @@ func BenchmarkLabelSortString(b *testing.B) {
ls["foo20abc30"] = "bar"
ls["foo20abc9"] = "bar"
for i := 0; i < b.N; i++ {
ls.String()
_ = ls.String()
}
}

0 comments on commit dd21376

Please sign in to comment.