Skip to content
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

promparse: sort all labels when parsing #5372

Merged
merged 2 commits into from
Mar 16, 2019

Conversation

GiedriusS
Copy link
Contributor

Some label names might start with an uppercase letter in which case it
needs to come before __name__. Without this, it means that we are not
maintaining the same invariant that all label names should be sorted in
such cases.

Amend the tests to check this problem automatically. Without the change
the tests do not pass.

Some label names might start with an uppercase letter in which case it
needs to come before __name__. Without this it means that we are not
maintaining the same invariant that all label names should be sorted in
such cases.

Amend the tests to check this problem automatically. Without the change
the tests do not pass.

Signed-off-by: Giedrius Statkevičius <giedriuswork@gmail.com>
Make it clearer that the labels should be sorted.

Signed-off-by: Giedrius Statkevičius <giedriuswork@gmail.com>
@brian-brazil
Copy link
Contributor

Thanks!

@jjneely
Copy link
Contributor

jjneely commented Apr 1, 2019

We were hoping to see this in 2.8.1 to address the label ordering bugs we have with Thanos. Is it possible to have this in a future 2.8 release, or does this need to wait for 2.9?

@brian-brazil
Copy link
Contributor

2.9 will start next week, so I'm not sure there's a point in putting out a bugfix for this.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants