37 Commits (1081e336a0c4004b6f817c70f0ff4f3810db80fa)

Author SHA1 Message Date
Domantas 3929d6500a [BUGFIX] labels: don't modify original labels in DropMetricName (#13845) 8 months ago
Domantas 435f330d0b
[BUGFIX] labels: don't modify original labels in DropMetricName (#13845) 8 months ago
machine424 f477e0539a
Move from golang.org/x/exp/slices into slices now that we only support Go >= 1.21 9 months ago
Bryan Boreham b39286fd1f Add dedupelabels tag to not build regular labels 9 months ago
Bryan Boreham 28191109a8 Labels: add fake versions of SymbolTable apis 9 months ago
Bryan Boreham d1af84f6ee Labels: move Builder and Reset out of common 9 months ago
Bryan Boreham 74b73d1e2c
Labels: Add DropMetricName function, used in PromQL (#13446) 10 months ago
Bryan Boreham a3e02f35d6 labels: extract common code between slice and stringlabels 1 year ago
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) 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
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