-
Notifications
You must be signed in to change notification settings - Fork 321
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
LabelSet.String sorts incorrectly #543
Comments
@bboreham , I would like to work in this issue. Can you please assign this to me? |
Sure, thanks for your interest. It would be good to have a small benchmark, to check that your changes run at about the same speed. |
wasim-nihal
added a commit
to nokia/prometheus-common
that referenced
this issue
Feb 2, 2024
Signed-off-by: Syed Nihal <[email protected]>
wasim-nihal
added a commit
to nokia/prometheus-common
that referenced
this issue
Feb 8, 2024
Signed-off-by: Syed Nihal <[email protected]>
wasim-nihal
added a commit
to nokia/prometheus-common
that referenced
this issue
Feb 8, 2024
Signed-off-by: Syed Nihal <[email protected]>
wasim-nihal
added a commit
to nokia/prometheus-common
that referenced
this issue
Feb 9, 2024
Signed-off-by: Syed Nihal <[email protected]>
SuperQ
pushed a commit
that referenced
this issue
Feb 29, 2024
* custom sorting for LabelSet. See: #543 Signed-off-by: Syed Nihal <[email protected]> * implement custom sorting for prometheus labelset. see: #543 Signed-off-by: Syed Nihal <[email protected]> * implement custom sorting for prometheus labelset. see: #543 Signed-off-by: Syed Nihal <[email protected]> * fix sorting issue of prometheus labelset. see: #543 Signed-off-by: Syed Nihal <[email protected]> --------- Signed-off-by: Syed Nihal <[email protected]>
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
This code:
common/model/labelset.go
Lines 135 to 138 in 1d8c672
will sort
foo2="bar"
beforefoo="bar"
.The usual sort order of Prometheus labels is alphabetical by names, which would put
foo
beforefoo2
.The text was updated successfully, but these errors were encountered: