Commit Graph

87 Commits (0ba747187da2313f8673088ae2673ca7a178a2f7)

Author SHA1 Message Date
Oleg Zaytsev 2524a91591
Fix FastRegexMatcher matching multibyte runes with . (#14059)
7 months ago
Matthieu MOREL d496687c8e golangci-lint: enable usestdlibvars linter
8 months ago
Bryan Boreham 7c28521451 [TESTS] Truncate some long test names, for readability
8 months ago
carehabit a672662073
all: fix some typos (#13863)
8 months ago
Domantas 435f330d0b
[BUGFIX] labels: don't modify original labels in DropMetricName (#13845)
8 months ago
Bryan Boreham 48786ad4e8 Use slices insteda of exp/slices
8 months ago
Bryan Boreham 080d440bf8 Merge remote-tracking branch 'origin/main' into pr/13461
8 months ago
Oleg Zaytsev d12e785075
Improve readability
8 months ago
Oleg Zaytsev 9699598952
Improve Labels.Compare performance w/stringlabels
8 months ago
Bryan Boreham 0bb5588386
labels: optimize String method (#13673)
9 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 e1a741a0d7 labels: update copyright dates
9 months ago
Bryan Boreham 55e7de04f8 model/labels (stringlabels): use strings.Clone
9 months ago
Bryan Boreham d16ce3c9bd model/labels (dedupelabels): small clarifications
9 months ago
Bryan Boreham b39286fd1f Add dedupelabels tag to not build regular labels
9 months ago
Bryan Boreham d51a5344cd labels: new version de-duplicating strings in SymbolTables
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 5aa4473894 labels tests: extend TestBuilder
9 months ago
Bryan Boreham bb82a57e64 Labels: Call NewScratchBuilder in test_utils
9 months ago
Bryan Boreham cc5dc6a61b labels: use Equal instead of DeepEqual
9 months ago
beorn7 553d92affd model/labels: Fix new lint warning in test
10 months ago
Bryan Boreham 14b4fbc2ff labels: make InternStrings a no-op for stringlabels version
10 months ago
Marco Pracucci 501bc6419e
Add ShardedPostings() support to TSDB (#10421)
10 months ago
Bryan Boreham 74b73d1e2c
Labels: Add DropMetricName function, used in PromQL (#13446)
10 months ago
Marco Pracucci bfec57bd2e
Further optimise FastRegexMatcher
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
Oleksandr Redko fa90ca46e5 ci(lint): enable godot; append dot at the end of comments
1 year ago
Goutham Veeramachaneni 86729d4d7b
Update exp package (#12650)
1 year ago
Bryan Boreham d6e1b1acdb
Merge pull request #12681 from prometheus/labels-unused-code
1 year ago
Bryan Boreham ce260b1fe1 labels: remove some unused code
1 year ago
Bryan Boreham b5c6807fea Labels.Has quick check on first character
1 year ago
Bryan Boreham 33aab1b2cc labels: extend benchmark for Has()
1 year ago
Bryan Boreham e1115ae58d
labels: improve Get method for stringlabels build (#12485)
1 year ago
Bryan Boreham 87d08abe11
labels: faster Compare function when using -tags stringlabels (#12451)
1 year ago
Oleg Zaytsev 6a18962cfa
mv labels_string.go labels_stringlabels.go (#12328)
1 year ago
Michael Hoffmann 344c8ff97c
feat: dont compile regex matcher if we know its a literal (#12434)
1 year ago
Bryan Boreham a073e04a9b
Merge pull request #12366 from prometheus/release-2.44
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
Bryan Boreham 1801cd4196 labels: small optimization to stringlabels
2 years ago
Bryan Boreham 10cc60af01 labels: add ScratchBuilder.Overwrite for slice implementation
2 years ago
Ganesh Vernekar 5588cab8b2
Merge pull request #12173 from bboreham/builder-no-empty-labels
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 3743d87c56 labels: cope with mutating Builder during Range call
2 years ago
Bryan Boreham 3c4ab7a069 labels: add test for Builder.Range
2 years ago