prometheus/pkg/labels
Ganesh Vernekar 588eb20018
Efficient iteration and search in HashForLabels and HashWithoutLabels (#5707)
* Efficient iteration and search in Labels.HashForLabels

Signed-off-by: Ganesh Vernekar <cs15btech11018@iith.ac.in>

* Better names for variables

Signed-off-by: Ganesh Vernekar <cs15btech11018@iith.ac.in>

* HashWithoutLabels optimizations

Signed-off-by: Ganesh Vernekar <cs15btech11018@iith.ac.in>

* Refactor HashForLabels and HashWithoutLabels to take sorted names

Signed-off-by: Ganesh Vernekar <cs15btech11018@iith.ac.in>

* Fix review comments

Signed-off-by: Ganesh Vernekar <cs15btech11018@iith.ac.in>
2019-06-28 18:22:51 +05:30
..
labels.go Efficient iteration and search in HashForLabels and HashWithoutLabels (#5707) 2019-06-28 18:22:51 +05:30
labels_test.go show list of offending labels in the error message in many-to-many scenarios (#5189) 2019-02-09 10:17:52 +01:00
matcher.go Don't add anchoring to exported `Value` matcher field 2017-10-10 10:10:21 -07:00
matcher_test.go Add label matcher tests 2017-10-10 17:13:55 -07:00