mirror of https://github.com/prometheus/prometheus
promparse: sort all labels when parsing (#5372)
* promparse: sort all labels when parsing 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>pull/5373/head
parent
5f933e99d0
commit
10ec2552af
Loading…
Reference in new issue