Commit Graph

478 Commits (a44db5f7842a7b3e82687f6fb8d87076a493d858)

Author SHA1 Message Date
Jeanette Tan f35c6649e4 don't blindly convert series with the classic histogram name suffixes if they are not actually histograms based on metadata
2 months ago
Jeanette Tan e3899187da expand tests for protobuf and fix problems
2 months ago
Jeanette Tan cd498964e6 expand tests and support conversion to nhcb in the middle of scrape
2 months ago
Jeanette Tan 41c7f7d352 don't reuse the buffer
2 months ago
Jeanette Tan 57bde06d2c add doc comments
2 months ago
Jeanette Tan cbd5488cd3 skip nhcb conversion if there is native histogram of same name
2 months ago
Jeanette Tan 0e5072b873 keep only 1 nhcb in memory at at time
2 months ago
Jeanette Tan 172d4f2405 insert nhcb parser as intermediate layer
2 months ago
Bryan Boreham a0f26febc2
Merge pull request #12180 from damnever/perf/relabel-add-label
2 months ago
Bryan Boreham 31c5760551
Neater string vs byte-slice conversions (#14425)
2 months ago
Arthur Silva Sens ca18f298e1
Merge pull request #14949 from Maniktherana/minor-fixes-ct
2 months ago
Manik Rana 315165e49d refac: make typeRequiresCT private
2 months ago
Björn Rabenstein 5b9148e552
Merge pull request #14820 from charleskorn/promqltest-native-histogram-format
2 months ago
Charles Korn 6dbb4e1a94
Fix linting issues
2 months ago
Mario Fernandez 5814920601
Fix: optimize .* regexp performance
2 months ago
Nathan Baulch 50cd453c8f
chore: Fix typos (#14868)
3 months ago
Charles Korn e8c7482137
Return negative counts when multiplied or divided by a negative value
3 months ago
Charles Korn e67358d203
histogram: include counter reset hint in test expression output
3 months ago
Björn Rabenstein 4ffb74dae4
Merge pull request #14810 from bboreham/fix-proto-parse-exemplar
3 months ago
Bryan Boreham d599c4b28c [BUGFIX] Protobuf scraping: reset exemplar position
3 months ago
Bryan Boreham 3aaf2c3c9d [TESTS] Add second native histogram with exemplars in TestProtobufParse
3 months ago
Bryan Boreham e8ecc11816 [TESTS] Fix up item numbers in TestProtobufParse
3 months ago
Owen Williams 9da75328ea
fix(utf8): ensure correct validation when legacy mode turned on (#14736)
3 months ago
riskrole 406bf775aa chore: fix some comments
3 months ago
beorn7 0f760f63dd lint: Revamp our linting rules, mostly around doc comments
3 months ago
Manik Rana 02c465bf58
textparse: Implement `CreatedTimestamp()` in `openmetricsparse.go` (#14356)
4 months ago
Seena Fallah f253d36361 rule: allow merging labels from group level
4 months ago
Marco Pracucci d4f098ae80
Fix relabel.Regexp zero value marshalling (#14517)
4 months ago
Bryan Boreham d84282b105 Labels: use single byte as separator - small speedup
5 months ago
Bryan Boreham 82a8c6abe2
[ENHANCEMENT] Optimize regexps with multiple prefixes (#13843)
5 months ago
Marco Pracucci ec31acaf02
FastRegexMatcher: small optimization for the literal prefix case
5 months ago
Bryan Boreham 675d02cd0b
Merge pull request #14333 from bboreham/faster-dedupelabels
5 months ago
Björn Rabenstein 2e58d46522
Merge pull request #13662 from prometheus/nhcb
5 months ago
Björn Rabenstein cb7306155b
Merge pull request #14004 from liam-howe-maersk/implement-config-marshal
5 months ago
György Krajcsovits 505ffd34ef Fix lint error
5 months ago
George Krajcsovits f45709e710
Update model/histogram/histogram_test.go
5 months ago
Bryan Boreham 7a82e4b503 Labels benchmarks: remove artefact of small symbol-tables
5 months ago
Bryan Boreham 2ba7bc9446 Labels: further optimisation for dedupelabels
5 months ago
Bryan Boreham 2ced2f6aec [PERF] Labels: faster varint for dedupelabels
5 months ago
Jeanette Tan dda5f48c9e Merge branch 'main' into nhcb-review-2
5 months ago
Bryan Boreham 84602bbace
Merge branch 'main' into fix-matcher-string-with-empty-label-name
5 months ago
Oleg Zaytsev 4f78cc809c
Refactor `toNormalisedLower`: shorter and slightly faster. (#14299)
5 months ago
Oleg Zaytsev 03cf6141d4
Fix Matcher.String() with empty label name
6 months ago
Ranveer Avhad 39902ba694
[BUGFIX] FastRegexpMatcher: do Unicode normalization as part of case-insensitive comparison (#14170)
6 months ago
Jeanette Tan 5e4e93c316 fix lint
6 months ago
Jeanette Tan 14f8dded39 Merge branch 'main' into nhcb
6 months ago
Jeanette Tan 9adc1699c3 fix according to code review
6 months ago
Bryan Boreham 6fb738af51
Merge pull request #14173 from pracucci/fastregexmatcher-optimize-contains
6 months ago
Bryan Boreham d635bcaa84
Merge pull request #13587 from tylitianrui/chore/typo_20240215
6 months ago
Marco Pracucci d966ae6400
Optimize containsInOrder() inlining it
6 months ago
Marco Pracucci a0807733be
Improved tests
6 months ago
Marco Pracucci 78fdd2188d
Improve contains check done by FastRegexMatcher
6 months ago
gotjosh 37b408c6cd
Feature: Allow configuration of a rule evaluation delay (#14061)
6 months ago
Bryan Boreham 1e0b0e250a
Merge pull request #14090 from colega/improve-zeroOrOneCharacterStringMatcher-Matches
7 months ago
Oleksandr Redko f10c3454e9 Enable perfsprint linter and fix up code
7 months ago
Björn Rabenstein e6be4240be
Merge pull request #14068 from colega/quote-label-name-in-matchers-when-needed
7 months ago
Bryan Boreham dc926527ae
Merge pull request #13669 from aiwhj/optimization
7 months ago
Jeanette Tan f028496133 Merge branch 'main' into nhcb
7 months ago
Oleg Zaytsev 8b4c9459a2
Check utf8.RuneError result
7 months ago
Oleg Zaytsev dbe88fae22
Add invalid utf8 test cases to regexp
7 months ago
Oleg Zaytsev bcff5059e6
Use utf8.DecodeRuneInString(s)
7 months ago
Oleg Zaytsev fdfc6d4725
Benchmark zeroOrOneCharacterStringMatcher.Matches
7 months ago
Oleg Zaytsev b7b4355807
Use bytes.Buffer from stack buf in Matcher.String()
7 months ago
Arve Knudsen d699dc3c77
Fix language in docs and comments (#14041)
7 months ago
Oleg Zaytsev 6ebda5a7bc
Optimize Matcher.String()
7 months ago
Oleg Zaytsev dabd789fd5
Quote label name in matchers when needed
7 months ago
zenador 545a7e48f9
[nhcb branch] Enhance unit test framework for nhcb and warnings (#14009)
7 months ago
Jeanette Tan 796b1bbfde Merge branch 'main' into nhcb
7 months ago
Oleg Zaytsev 2524a91591
Fix FastRegexMatcher matching multibyte runes with . (#14059)
7 months ago
Liam Howe 35d897ced4 Add test case for default regex explicitly provided
7 months ago
Liam Howe 5d97f17ff1 Replace MarshalYAML() with IsZero() method for Regexp
7 months ago
Liam Howe 835dfa7eb6 Implement MarshalYAML for relabel.Config so that we do not generate a regex field if it was not provided in the first place
7 months ago
György Krajcsovits bcafa5f1f9 Merge remote-tracking branch 'upstream/main' into update-nhcb
7 months ago
zenador 81862aabd7
[nhcb branch] Add basic unit tests for native histograms with custom buckets converted from classic histograms (#13794)
7 months ago
Björn Rabenstein 4ec5c25393
Merge pull request #13731 from suntala/suntala/native-histogram-template
8 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
György Krajcsovits 2a4aa085d2 Merge branch 'main' into nhcb
8 months ago
Domantas 435f330d0b
[BUGFIX] labels: don't modify original labels in DropMetricName (#13845)
8 months ago
suntala 44f385fd51 Support expansion of native histogram values in alert templates
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
György Krajcsovits a3d1a46eda Merge branch 'main' into nhcb
8 months ago
zenador 4acbb7dea6
Add custom buckets to native histogram chunks encoding (#13706)
8 months ago
Oleg Zaytsev d12e785075
Improve readability
9 months ago
Oleg Zaytsev 9699598952
Improve Labels.Compare performance w/stringlabels
9 months ago
Bryan Boreham 0bb5588386
labels: optimize String method (#13673)
9 months ago
Arthur Silva Sens 07355c9199
Bump client_golang to 1.19
9 months ago
Ondrej Kokes 2e30f1231b docs: textparse.Parser return type mismatch
9 months ago
roger.wang 7e8f03663a Code optimization: The relabel operation is used very frequently, and strconv.FormatInt() with better performance should be used.
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
György Krajcsovits 5d0a0a7542 Add custom buckets to native histogram model (#13592)
9 months ago
Bryan Boreham ba6aa95222 refactor: metrics parsing: extract common checking code
9 months ago
Bryan Boreham d2817e9c91
Merge pull request #12304 from bboreham/labels-symboltable
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 eff3a13e19 model/textparse: parsers take a labels SymbolTable
9 months ago
Bryan Boreham 93b72ec5dd tsdb: create SymbolTables for labels as required
9 months ago