prometheus/pkg
Giedrius Statkevičius 10ec2552af 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>
2019-03-16 10:10:07 +00:00
..
gate Limit concurrent remote reads. (#4656) 2018-09-25 20:07:34 +01:00
labels show list of offending labels in the error message in many-to-many scenarios (#5189) 2019-02-09 10:17:52 +01:00
logging Fix some spelling issues (#5361) 2019-03-14 14:38:54 +00:00
modtimevfs *: check that assets are up-to-date (#4731) 2018-11-09 11:31:36 +01:00
pool stupid return mistake fix, and dropped the additional assertion check! 2018-02-20 13:32:23 +02:00
relabel Moved configuration into relabel package. (#4955) 2018-12-18 11:26:36 +00:00
rulefmt import aliases yaml that can be omitted (#5018) 2018-12-20 09:45:30 +00:00
runtime pkg/runtime: use panic instead of log.Fatal for system call errors 2019-01-16 17:03:30 -05:00
textparse promparse: sort all labels when parsing (#5372) 2019-03-16 10:10:07 +00:00
timestamp Add license to files. 2017-04-19 13:46:22 +01:00
value Fix spelling/typos (#4921) 2018-11-27 17:44:29 +01:00