Commit Graph

35 Commits (1db6a580e2b550d4c41c3c6eaab4140a9b3aba1d)

Author SHA1 Message Date
Oleksandr Redko f10c3454e9 Enable perfsprint linter and fix up code
7 months ago
Matthieu MOREL d496687c8e golangci-lint: enable usestdlibvars linter
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
Oleg Zaytsev 9699598952
Improve Labels.Compare performance w/stringlabels
9 months ago
Bryan Boreham 0bb5588386
labels: optimize String method (#13673)
9 months ago
Bryan Boreham 5aa4473894 labels tests: extend TestBuilder
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 74b73d1e2c
Labels: Add DropMetricName function, used in PromQL (#13446)
10 months ago
Oleksandr Redko fa90ca46e5 ci(lint): enable godot; append dot at the end of comments
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
Bryan Boreham 7a48a266b6
labels: respect Set after Del in Builder (#12322)
2 years ago
Bryan Boreham b987afa7ef labels: simplify call to get Labels from Builder
2 years ago
Bryan Boreham 3c4ab7a069 labels: add test for Builder.Range
2 years ago
Bryan Boreham a07a0be024 Add benchmark for labels.Builder
2 years ago
Bryan Boreham f03b8d0968 Add benchmark copying labels
2 years ago
Bryan Boreham 10b27dfb84 Simplify IndexReader.Series interface
2 years ago
Bryan Boreham b10fd9aea3 model/labels: add a basic test for ScratchBuilder
2 years ago
Bryan Boreham cbf432d2ac Update package labels tests for new labels.Labels type
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 5421c778ba labels: in tests use labels.FromStrings
2 years ago
Cosrider bef6556ca5
delete redundant alias (#11180)
2 years ago
Bryan Boreham 8b863c42dd
Optimise relabeling by re-using memory (#11147)
2 years ago
Bryan Boreham a7f19b5775 labels: add a test for JSON and YAML marshalling
2 years ago
Bryan Boreham 10699c37a3 labels: test BytesWithoutLabels does not remove __name__ by default
2 years ago
Bryan Boreham d46ef0aa8e labels: tweak BenchmarkLabels_Get()
2 years ago
Bryan Boreham 24ebff9c4a labels: don't test that Hash() works on unordered labels
2 years ago
Bryan Boreham fb2d883f1e labels: test Compare without knowing the exact result
2 years ago
Bryan Boreham 2e2c014d52
Labels: optimise creation of signature with/without labels (#10667)
3 years ago
Nick Pillitteri 53ac9d6d66
Compare equality of label.Label structs directly (#10427)
3 years ago
Łukasz Mierzwa da23c4649a
Enable misspell check in golangci-lint (#10393)
3 years ago
beorn7 c954cd9d1d Move packages out of deprecated pkg directory
3 years ago