prometheus / prometheus/common
LabelSet.String sorts incorrectly
Open
@wasim-nihal is already working on this.
Since Dec 12, 2023.
- Dominant language
- Go
- Stars
- 295
- Forks
- 367
- Avg merge
- 2d 10h
- Merged PRs (30d)
- 18
Description
will sort foo2="bar" before foo="bar".
The usual sort order of Prometheus labels is alphabetical by names, which would put foo before foo2.
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Assessment
This issue has not been assessed yet.