Commit Graph

157 Commits (main)

Author SHA1 Message Date
Matthieu MOREL 45b9329e68
chore: fix emptyStringTest issues from gocritic (#18226) 2 months ago
Casie Chen cbf414d68a Add regex optimization for simple contains alternations 3 months ago
Nick Pillitteri a769a7eeb7
model/labels: fix regex with capture, wildcards, literal (#17828) 4 months ago
Charles Korn a919e6d5ef
model/labels: improve performance of regex matchers like `.*-.*-.*` (#17707) 4 months ago
Ben Kochie e14795bbf4
Remove copyright date from headers (#17785) 4 months ago
Julien Pivotto a5671a002f API: Add a /api/v1/features endpoint 5 months ago
dongjiang 3239723098
Update golangci-lint and add modernize check (#17640) 5 months ago
Bartlomiej Plotka b2eb2bc989
chore(labels): add more context to labels.MetricName deprecation. (#17590) 5 months ago
Ben Kochie 204249fcb5
Update golangci-lint (#17478) 6 months ago
Ben Kochie 48956f60d7
Update modernize (#17471) 6 months ago
Naman-B-Parlecha 1df1f53ea0 fix: Added Unroll support to Sparse NHCBs 7 months ago
Bartlomiej Plotka a4da440dad
fix: Fix slicelabels corruption when used with proto decoding (#17150) 7 months ago
Naman-B-Parlecha c072b0000a fix(convert): fix typos in comments 7 months ago
Naman-B-Parlecha 083d0fa835 refactor(convert): updated tests and moved formatOpenMetricsFloat 7 months ago
Charles Korn a2adccadd2 Improve assertion failure message 7 months ago
Bryan Boreham c743b2f3cd [PERF] Regex: stop calling Simplify 7 months ago
George Krajcsovits acd9aa0afb
fix(textparse/protobuf): metric family name corrupted by NHCB parser (#17156) 8 months ago
Arve Knudsen 913cc8f72b
Replace gopkg.in/yaml.v2 with go.yaml.in/yaml/v2 (#17151) 8 months ago
beorn7 747c5ee2b1 Apply analyzer "modernize" to the whole codebase 8 months ago
Arve Knudsen 0a40df33fb
Make metric/label name validation scheme explicit (#16928) 8 months ago
George Krajcsovits 929bd787ec
fix(ci): run linter with all build tags (#17027) 9 months ago
Matthieu MOREL cef219c31c chore: enable unused-receiver rule from revive 9 months ago
Lukasz Mierzwa 559fd44be6 Rename labels.go -> labels_slicelabels.go 10 months ago
Jon Kartago Lamida 819500bdbc
Add ByteSize method for Labels (#16717) 10 months ago
Bryan Boreham 4eafbcae93 lint 10 months ago
Bryan Boreham e7ac3f440d [TESTS] Labels: Add a test for SizeOfLabels 10 months ago
Bryan Boreham 507227781b [REFACTOR] Labels: Extract test case data from TestLabels_String 10 months ago
Bartlomiej Plotka 8e6b008608
feature: type-and-unit-labels (PROM-39 implementation) (#16228) 12 months ago
hardlydearly ba4b058b7a refactor: use slices.Contains to simplify code 12 months ago
Arve Knudsen e7e3ab2824
Fix linting issues found by golangci-lint v2.0.2 (#16368) 12 months ago
Bryan Boreham b2c2146d7c
Labels: simpler/faster stringlabels encoding (#16069) 1 year ago
Lukasz Mierzwa 05088aaa12 Fix linter errors 1 year ago
Lukasz Mierzwa bb76966992 Use stringlabels by default 1 year ago
wellweek 4e91f13db2 refactor: use slices.Equal to simplify code 1 year ago
Owen Williams 94b43c5d4c utf8: Remove support for legacy global validation setting 1 year ago
Matthieu MOREL c7d4b53ec1 chore: enable unused-parameter from revive 1 year ago
Bryan Boreham ac4f8a5e23
[ENHANCEMENT] TSDB: Improve calculation of space used by labels (#13880) 1 year ago
Owen Williams 8d4bcd2c77 promql: Fix various UTF-8 bugs related to quoting 1 year ago
Arve Knudsen 89bbb885e5
Upgrade to golangci-lint v1.62.0 (#15424) 1 year ago
Bryan Boreham 5571c7dc98 FastRegexMatcher: use stack memory for lowercase copy of string 2 years ago
Bryan Boreham 31c5760551
Neater string vs byte-slice conversions (#14425) 2 years ago
Mario Fernandez 5814920601
Fix: optimize .* regexp performance 2 years ago
Owen Williams 9da75328ea
fix(utf8): ensure correct validation when legacy mode turned on (#14736) 2 years ago
beorn7 0f760f63dd lint: Revamp our linting rules, mostly around doc comments 2 years ago
Bryan Boreham d84282b105 Labels: use single byte as separator - small speedup 2 years ago
Bryan Boreham 82a8c6abe2
[ENHANCEMENT] Optimize regexps with multiple prefixes (#13843) 2 years ago
Marco Pracucci ec31acaf02
FastRegexMatcher: small optimization for the literal prefix case 2 years ago
Bryan Boreham 7a82e4b503 Labels benchmarks: remove artefact of small symbol-tables 2 years ago
Bryan Boreham 2ba7bc9446 Labels: further optimisation for dedupelabels 2 years ago
Bryan Boreham 2ced2f6aec [PERF] Labels: faster varint for dedupelabels 2 years ago