39 Commits (344c6308573e5730a9050064aee1167378f0467d)

Author SHA1 Message Date
Bryan Boreham 934c520d37 labels: cope with mutating Builder during Range call 2 years ago
Bryan Boreham bd23e8899d labels: add test for Builder.Range 2 years ago
Bryan Boreham 3743d87c56 labels: cope with mutating Builder during Range call 2 years ago
Bryan Boreham 3c4ab7a069 labels: add test for Builder.Range 2 years ago
Xiaochao Dong (@damnever) 36fc1158b5 Remove unnecessary sort 2 years ago
Bryan Boreham d740abf0c6 model/labels: add Get and Range to Builder 2 years ago
Bryan Boreham 38c6d3da9f labels: use slices.Sort for better performance 2 years ago
Bryan Boreham a07a0be024 Add benchmark for labels.Builder 2 years ago
Bryan Boreham 30297f0d9b stringlabels: size buffer for added labels 2 years ago
Bryan Boreham f03b8d0968 Add benchmark copying labels 2 years ago
Bryan Boreham 6136ae67e0 labels: shrink by making internals a single string 2 years ago
Bryan Boreham 10b27dfb84 Simplify IndexReader.Series interface 2 years ago
Bryan Boreham b10fd9aea3 model/labels: add a basic test for ScratchBuilder 2 years ago
Bryan Boreham cbf432d2ac Update package labels tests for new labels.Labels type 2 years ago
Bryan Boreham 617bee60f1 labels: use ScratchBuilder in ReadLabels 2 years ago
Bryan Boreham 2b8b8d9ac7 labels: new methods to work without access to internals 2 years ago
Bryan Boreham ea7345a09c labels: improve comment on Builder.Set 2 years ago
Bryan Boreham a19b369f9e labels: avoid lint warning on New() 2 years ago
Xiaochao Dong (@damnever) 9979024a30 Report error if the series contains invalid metric names or labels during scrape 2 years ago
Bryan Boreham 8d4140a06e labels: note that Hash may change 2 years ago
Bryan Boreham 5421c778ba labels: in tests use labels.FromStrings 2 years ago
Cosrider bef6556ca5
delete redundant alias (#11180) 2 years ago
Bryan Boreham 8b863c42dd
Optimise relabeling by re-using memory (#11147) 2 years ago
Bryan Boreham a7f19b5775 labels: add a test for JSON and YAML marshalling 2 years ago
Bryan Boreham 10699c37a3 labels: test BytesWithoutLabels does not remove __name__ by default 2 years ago
Bryan Boreham d46ef0aa8e labels: tweak BenchmarkLabels_Get() 2 years ago
Bryan Boreham 24ebff9c4a labels: don't test that Hash() works on unordered labels 2 years ago
Bryan Boreham fb2d883f1e labels: test Compare without knowing the exact result 2 years ago
Matthieu MOREL c2b4de3611
refactor (package model): move from github.com/pkg/errors to 'errors' and 'fmt' packages (#10747) 2 years ago
Bryan Boreham 2e2c014d52
Labels: optimise creation of signature with/without labels (#10667) 2 years ago
Łukasz Mierzwa b11062bfcc
Don't count added labels when initializing slice (#10756) 3 years ago
Łukasz Mierzwa 08262454a3
Preallocate Labels in labels.Builder (#10749) 3 years ago
Łukasz Mierzwa 89de30a0b7
Avoid reallocating map in MatchLabels (#10715) 3 years ago
Nick Pillitteri 53ac9d6d66
Compare equality of label.Label structs directly (#10427) 3 years ago
Łukasz Mierzwa da23c4649a
Enable misspell check in golangci-lint (#10393) 3 years ago
Bryan Boreham 579331446a
Allow downstream projects to use faster regexp (#10251) 3 years ago
beorn7 c954cd9d1d Move packages out of deprecated pkg directory 3 years ago