Commit Graph

197 Commits (8f1dc4a70fe664e54482782aead7931b8a49a380)

Author SHA1 Message Date
Matthieu MOREL bae9a21200
Merge branch 'main' into linter/nilerr
2 years ago
beorn7 5b53aa1108 style: Replace `else if` cascades with `switch`
2 years ago
beorn7 c3c7d44d84 lint: Adjust to the lint warnings raised by current versions of golint-ci
2 years ago
Bryan Boreham 1801cd4196 labels: small optimization to stringlabels
2 years ago
Matthieu MOREL fb3eb21230 enable gocritic, unconvert and unused linters
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
Björn Rabenstein 847093479b
Merge pull request #11978 from trevorwhitney/set-counter-hint
2 years ago
Trevor Whitney e3513d1dd2
Change nested ifs to a switch
2 years ago
Trevor Whitney b4e324f637
Handle valid cases of mismatched hints when adding
2 years ago
Trevor Whitney dd94ebb87b
promql: set CounterResetHint after rate and sum
2 years ago
Julien Pivotto 5583c77b3a
Merge pull request #12095 from damnever/unnecessary-sort
2 years ago
Xiaochao Dong (@damnever) 36fc1158b5 Remove unnecessary sort
2 years ago
Bryan Boreham 11d019ed5a relabel: keep intermediate results in labels.Builder
2 years ago
Bryan Boreham d740abf0c6 model/labels: add Get and Range to Builder
2 years ago
Bryan Boreham ff993b279a
Merge pull request #12073 from bboreham/slices-sort2
2 years ago
Bryan Boreham 38c6d3da9f labels: use slices.Sort for better performance
2 years ago
Bryan Boreham a07a0be024 Add benchmark for labels.Builder
2 years ago
Bryan Boreham 30297f0d9b stringlabels: size buffer for added labels
2 years ago
Jonatan Ivanov 9225d118dc
Add Exemplars support for all time series
2 years ago
Renning Bruns 5ec1b4baaf
make hashmod a lot easier to read and a little faster (#11551)
2 years ago
Bryan Boreham 35026fb26d
Merge pull request #11746 from prometheus/remove-microbenchmarks
2 years ago
Levi Harrison 64ff6bece6
Merge pull request #11682 from dgrisonnet/parsing-errors
2 years ago
Bryan Boreham f03b8d0968 Add benchmark copying labels
2 years ago
Damien Grisonnet 0fee615719 model/textparse: improve openmetrics error outputs
2 years ago
Bryan Boreham 6136ae67e0 labels: shrink by making internals a single string
2 years ago
Damien Grisonnet e3b5416d05 model/textparse: improve error outputs
2 years ago
Julien Pivotto 8e500dbd39 Add rulefmt tests
2 years ago
Julien Pivotto ce55e5074d Add 'keep_firing_for' field to alerting rules
2 years ago
beorn7 3e5ad99c33 textparse: Minor doc comment improvement
2 years ago
beorn7 3f977e89ab textparse: Add tests for float and gauge histograms
2 years ago
beorn7 c26891043f textparse: Set CounterResetHint
2 years ago
Björn Rabenstein f07adbd45f
Merge pull request #11814 from prometheus/beorn7/protobuf
2 years ago
Ganesh Vernekar 57bcbf1888
Merge pull request #11783 from codesome/gauge-histogram
2 years ago
Ganesh Vernekar a87e7e9e33
tsdb: Add counter reset hint to histograms and support in WAL
2 years ago
Ganesh Vernekar c94a41c4b2
Merge pull request #11785 from Fish-pro/erroris
2 years ago
beorn7 b5d4a94e9d textparse: Add gauge histogram support to protobuf parsing
2 years ago
beorn7 e9d9bb1b08 textparse: Handle unknown metric types in protobuf gracefully
2 years ago
Damien Grisonnet 96b9d8cebb model/textparse: associate correct token to errors
2 years ago
Fish-pro 6ed71a229e Use errors.Is to check for a specific error
2 years ago
Marc Tudurí 9474610baf
Support FloatHistogram in TSDB (#11522)
2 years ago
Bryan Boreham 10b27dfb84 Simplify IndexReader.Series interface
2 years ago
Bryan Boreham 8d350d9e0c Update package model/textparse tests for new labels.Labels type
2 years ago
Bryan Boreham 1f04899ae3 Update package model/textparse for new labels.Labels type
2 years ago
Bryan Boreham fe9fe0e1e5 Update package model/relabel tests for new labels.Labels type
2 years ago