Commit Graph

352 Commits (b215a41be46cd463d5cfcc3deb7a7ab7028c1903)

Author SHA1 Message Date
Oleg Zaytsev b7b4355807
Use bytes.Buffer from stack buf in Matcher.String() 2 years ago
Arve Knudsen d699dc3c77
Fix language in docs and comments (#14041) 2 years ago
Oleg Zaytsev 6ebda5a7bc
Optimize Matcher.String() 2 years ago
Oleg Zaytsev dabd789fd5
Quote label name in matchers when needed 2 years ago
Oleg Zaytsev 2524a91591
Fix FastRegexMatcher matching multibyte runes with . (#14059) 2 years ago
Matthieu MOREL d496687c8e golangci-lint: enable usestdlibvars linter 2 years ago
Bryan Boreham 7c28521451 [TESTS] Truncate some long test names, for readability 2 years ago
carehabit a672662073
all: fix some typos (#13863) 2 years ago
Domantas 3929d6500a [BUGFIX] labels: don't modify original labels in DropMetricName (#13845) 2 years ago
Domantas 435f330d0b
[BUGFIX] labels: don't modify original labels in DropMetricName (#13845) 2 years ago
suntala 44f385fd51 Support expansion of native histogram values in alert templates 2 years ago
Bryan Boreham 48786ad4e8 Use slices insteda of exp/slices 2 years ago
Oleg Zaytsev d12e785075
Improve readability 2 years ago
Oleg Zaytsev 9699598952
Improve Labels.Compare performance w/stringlabels 2 years ago
Bryan Boreham 0bb5588386
labels: optimize String method (#13673) 2 years ago
Arthur Silva Sens 07355c9199
Bump client_golang to 1.19 2 years ago
Ondrej Kokes 2e30f1231b docs: textparse.Parser return type mismatch 2 years ago
roger.wang 7e8f03663a Code optimization: The relabel operation is used very frequently, and strconv.FormatInt() with better performance should be used. 2 years ago
machine424 f477e0539a
Move from golang.org/x/exp/slices into slices now that we only support Go >= 1.21 2 years ago
Bryan Boreham ba6aa95222 refactor: metrics parsing: extract common checking code 2 years ago
Bryan Boreham e1a741a0d7 labels: update copyright dates 2 years ago
Bryan Boreham 55e7de04f8 model/labels (stringlabels): use strings.Clone 2 years ago
Bryan Boreham d16ce3c9bd model/labels (dedupelabels): small clarifications 2 years ago
Bryan Boreham eff3a13e19 model/textparse: parsers take a labels SymbolTable 2 years ago
Bryan Boreham 93b72ec5dd tsdb: create SymbolTables for labels as required 2 years ago
ismail simsek eecaa71ff1 Fix: metadata API using wrong field names (#13633) 2 years ago
ismail simsek 2507469291
Fix: metadata API using wrong field names (#13633) 2 years ago
Bryan Boreham b39286fd1f Add dedupelabels tag to not build regular labels 2 years ago
Bryan Boreham d51a5344cd labels: new version de-duplicating strings in SymbolTables 2 years ago
Bryan Boreham 28191109a8 Labels: add fake versions of SymbolTable apis 2 years ago
Bryan Boreham d1af84f6ee Labels: move Builder and Reset out of common 2 years ago
Bryan Boreham 5aa4473894 labels tests: extend TestBuilder 2 years ago
Bryan Boreham bb82a57e64 Labels: Call NewScratchBuilder in test_utils 2 years ago
Bryan Boreham cc5dc6a61b labels: use Equal instead of DeepEqual 2 years ago
Łukasz Mierzwa 5597020a60 Use github.com/klauspost/compress for gzip and zlib 2 years ago
Owen Williams a28d7865ad UTF-8: Add support for parsing UTF8 metric and label names 2 years ago
Ziqi Zhao a93859a52f
Prometheus support parse exemplars from native histogram (#13488) 2 years ago
Bryan Boreham 17f48f2b3b Tests: use replacement DeepEquals in more places 2 years ago
beorn7 553d92affd model/labels: Fix new lint warning in test 2 years ago
Bryan Boreham 14b4fbc2ff labels: make InternStrings a no-op for stringlabels version 2 years ago
Marco Pracucci 501bc6419e
Add ShardedPostings() support to TSDB (#10421) 2 years ago
Bryan Boreham 74b73d1e2c
Labels: Add DropMetricName function, used in PromQL (#13446) 2 years ago
Marco Pracucci bfec57bd2e
Further optimise FastRegexMatcher 2 years ago
Filip Petkovski 583f3e587c
Optimize histogram iterators (#13340) 2 years ago
zenador a3ddfbd1ee
Add warnings for histogramRate applied with isCounter not matching counter/gauge histogram (#13392) 2 years ago
tyltr 1fa131ee03
fix slice copy in 1.20 (#13389) 2 years ago
Arianna Vespri 8f07f9dd90 Avoid creating string for suffix, consider counters without _total suffix 2 years ago
Arianna Vespri 9a664b515a Correct order in error message 2 years ago
Arianna Vespri 51e78d9a32 Delete debugging lines, amend error message for unit 2 years ago
Bryan Boreham c83e1fc574 textparse: remove MetricType alias 2 years ago