30 Commits (cf528bef034dcf078d3bff0d50224a13068c391e)

Author SHA1 Message Date
Bryan Boreham 1bfb3ed062
Labels: reduce allocations when creating from TSDB WAL (#13044) 1 year ago
Goutham Veeramachaneni 86729d4d7b
Update exp package (#12650) 1 year ago
Bryan Boreham e278195e39
Cherry-pick bugfix #12322 and create v2.43.1 (#12324) 2 years ago
Bryan Boreham 7a48a266b6
labels: respect Set after Del in Builder (#12322) 2 years ago
cui fliter 276ca6a883 fix some comments 2 years ago
beorn7 5b53aa1108 style: Replace `else if` cascades with `switch` 2 years ago
Matthieu MOREL fb3eb21230 enable gocritic, unconvert and unused linters 2 years ago
Bryan Boreham 10cc60af01 labels: add ScratchBuilder.Overwrite for slice implementation 2 years ago
Bryan Boreham e917202766 labels: make sure estimated size is not negative 2 years ago
Bryan Boreham ee1157c14a labels: shrink stack arrays in Builder.Range 2 years ago
Bryan Boreham b987afa7ef labels: simplify call to get Labels from Builder 2 years ago
Bryan Boreham 934c520d37 labels: cope with mutating Builder during Range call 2 years ago
Bryan Boreham 3743d87c56 labels: cope with mutating Builder during Range call 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 6136ae67e0 labels: shrink by making internals a single string 2 years ago
Bryan Boreham 10b27dfb84 Simplify IndexReader.Series interface 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
Bryan Boreham 8b863c42dd
Optimise relabeling by re-using memory (#11147) 2 years ago
Bryan Boreham 2e2c014d52
Labels: optimise creation of signature with/without labels (#10667) 3 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
beorn7 c954cd9d1d Move packages out of deprecated pkg directory 3 years ago
Bartlomiej Plotka 9981b3f3ee
labels: Reduce allocated memory and latency of Hash method; Added tests. (#8025) 4 years ago
Bartlomiej Plotka dee6ac274e
labels: Extra tests and comment for WithoutLabels method. (#8024) 4 years ago
Guangwen Feng e6f2b8ad60
Fix golint issue in labels.go (#7730) 4 years ago
Callum Styan 5bb7f00d00
change labelset comparison in promql engine to avoid false positive during detection of duplicates (#7058) 5 years ago
Ben Kochie 269e7c8091
Fix golint issues. 5 years ago
Guangwen Feng 14182c1420
Fix golint warning in labels.go (#6839) 5 years ago
Julien Pivotto 46d18112a3 tsdb: error on series with duplicate labels (#6664) 5 years ago
Brian Brazil a9ed3b980d
Optimise labels.Compare (#6539) 5 years ago
Julius Volz ae93bae88f Fix: exclude metric name in labels.MatchLabels() (#6523) 5 years ago
Tom Wilkie de0a772b8e Port tsdb to use pkg/labels. (#6326) 5 years ago
Brian Brazil e62f30d497
Correctly handle empty labels from alert templates. (#5845) 5 years ago
Ganesh Vernekar 588eb20018
Efficient iteration and search in HashForLabels and HashWithoutLabels (#5707) 5 years ago
Thomas Jackson a000cec011 Re-use label builder in promql aggregation (#5641) 6 years ago
Tom Wilkie c7b3535997 Use pkg/relabelling in remote write. 6 years ago
Tariq Ibrahim a2a6e24f9f show list of offending labels in the error message in many-to-many scenarios (#5189) 6 years ago
JoeWrightss e158c53fa9 Fix some typos in comment (#5175) 6 years ago
Alin Sinpalean 96fb0b2155 Optimize PromQL aggregations (#4248) 6 years ago
Krasi Georgiev 675ce533c9 refactored TestScrapeLoopAppend and added a test for empty labels 7 years ago
Brian Brazil 4addee2bee Fix honor_labels for empty labels, prune empty labels. 7 years ago
Julius Volz c3d6abc8e6 Fix some lint errors (#3334) 7 years ago