Commit Graph

1466 Commits (0f760f63dd5137ad406e0bc9f08676898e04ac97)

Author SHA1 Message Date
Filip Petkovski 48df9fc020
Export SampleRingIterator
12 months ago
Arthur Silva Sens 5082655392
Append Created Timestamps (#12733)
12 months ago
Filip Petkovski e2a9f8ac0f
Reuse float histogram objects
12 months ago
Filip Petkovski 10a82f87fd
Enable reusing memory when converting between histogram types
12 months ago
Matthieu MOREL 9c4782f1cc
golangci-lint: enable testifylint linter (#13254)
12 months ago
Oleksandr Redko 2a75604f8e
Enable default revive rules (#13068)
1 year ago
Fiona Liao 5bee0cfce2
Change `ChunkReader.Chunk()` to `ChunkOrIterable()`
1 year ago
Bryan Boreham 34676a240e scrape: consistent function names for metadata
1 year ago
Bryan Boreham a2d5c02298
Merge pull request #13084 from charleskorn/concatenatingchunkiterator
1 year ago
Goutham 3048a88ae7
Add suffixes
1 year ago
Goutham a99f48cc9f
Bump OTel Collector dependency to v0.88.0
1 year ago
machine424 413b713aa8
remote/storage.go: adjust Storage.Notify() to avoid a race condition with Storage.ApplyConfig()
1 year ago
machine424 08c17df244
remote/storage.go: add a test to highlight a race condition
1 year ago
machine424 0996b78326
remote_write: add a unit test to make sure the write client sends
1 year ago
Julien Pivotto cf01ec2119
Merge pull request #13091 from mmorel-35/errorlint/util
1 year ago
Linas Medziunas 1f8aea11d6 Move histogram validation code to model/histogram
1 year ago
Linas Medziunas 1cd6c1cde5 ValidateHistogram: strict Count check in absence of NaNs
1 year ago
Matthieu MOREL fe057fc60d use Go standard errors package
1 year ago
Charles Korn 8274e248ad
Fix issue where `concatenatingChunkIterator` can obscure errors.
1 year ago
Björn Rabenstein a43669e611
Merge pull request #12928 from alexandear/ci-enable-godot
1 year ago
Charles Korn 5184368db6
Fix issue where `chainSampleIterator` can obscure errors (#13006)
1 year ago
Julien Pivotto f568221610
Merge pull request #13057 from prometheus/release-2.48
1 year ago
Oleksandr Redko fa90ca46e5 ci(lint): enable godot; append dot at the end of comments
1 year ago
beorn7 4696b46dd5 storage: Fix mixed samples handling in sampleRing
1 year ago
Oleksandr Redko 8e5f0387a2
ci(lint): enable nolintlint and remove redundant comments (#12926)
1 year ago
Matthieu MOREL 1ec6e407d0
ci(lint): enable errorlint on storage (#12935)
1 year ago
Levi Harrison 454a0a2c1b Update dependencies for 2.48 (#12964)
1 year ago
Levi Harrison dcaca86958
Update dependencies for 2.48 (#12964)
1 year ago
Bryan Boreham a5a4eab679
Storage: reduce memory allocations when merging series sets (#12938)
1 year ago
rakshith210 cdad64002a
Added Azure OAuth support (#12572)
1 year ago
Goutham Veeramachaneni 86729d4d7b
Update exp package (#12650)
1 year ago
Björn Rabenstein ade2ee3fe4
Merge pull request #12716 from bboreham/simplify-seek
1 year ago
William Dumont ce6ad15422 remote-write: TestClientRetryAfter status code 500
1 year ago
William Dumont febd62a23e remote-write: refactor TestClientRetryAfter
1 year ago
Bryan Boreham 9b85354acd remote-write: respect Retry-After header on 5xx errors
1 year ago
Paschalis Tsilias c173cd57c9
Add a header to count retried remote write requests (#12729)
1 year ago
George Krajcsovits 3512b2d678
storage: make histogram reset handling consistent in chainSampleIterator (#12779)
1 year ago
zenador 69edd8709b
Add warnings (and annotations) to PromQL query results (#12152)
1 year ago
Arve Knudsen 156222cc50
Add context argument to LabelQuerier.LabelValues (#12665)
1 year ago
Arve Knudsen a964349e97
Add context argument to LabelQuerier.LabelNames (#12666)
1 year ago
beorn7 0521ec12af storage: remove obsolete TODO
1 year ago
Arve Knudsen 6daee89e5f
Add context argument to Querier.Select (#12660)
1 year ago
Gregor Zeitlinger f01718262a
Unit tests for native histograms (#12668)
1 year ago
Justin Lei 8ef7dfdeeb
Add a chunk size limit in bytes (#12054)
1 year ago
beorn7 aa82fe198f tsdb: Fix histogram validation
1 year ago
Michael Hoffmann 4d8e380269
promql: allow tests to be imported (#12050)
1 year ago
Bryan Boreham a018a7ef53 storage: simplify Seek on BufferedSeriesIterator
1 year ago
Bryan Boreham d2ae8dc3cb remote-write: add http.resend_count tracing attribute
1 year ago
Goutham Veeramachaneni ad4f514e66
Add OTLP Ingestion endpoint (#12571)
1 year ago
George Krajcsovits 6cd2d1621f
Hide histogram chunk append and reset header internals (#12352)
1 year ago
LHHDZ 7d8f9b0978
remote-write receiver: reuse 'ref' to optimize multiple samples for same series (#12580)
1 year ago
György Krajcsovits d4e355243a tsdbutil/ChunkFromSamplesGeneric should not panic
1 year ago
Julien Pivotto 0f85e4f41d
Merge pull request #12539 from bboreham/slices-sorts
1 year ago
Bryan Boreham ce153e3fff Replace sort.Sort with faster slices.SortFunc
1 year ago
Julien Pivotto 986fde06b2
Merge pull request #11688 from damnever/fix/datamodelvalidation-remotewriteapi
1 year ago
Bryan Boreham 5255bf06ad Replace sort.Slice with faster slices.SortFunc
1 year ago
rakshith210 b1675e23af
Add Azure AD package for remote write (#11944)
2 years ago
Bryan Boreham a073e04a9b
Merge pull request #12366 from prometheus/release-2.44
2 years ago
Callum Styan 0d2108ad79
[tsdb] re-implement WAL watcher to read via a "notification" channel (#11949)
2 years ago
George Krajcsovits f5fcaa3872
Fix setting reset header to gauge histogram in seriesToChunkEncoder (#12329)
2 years ago
Justin Lei 7bbf24b707 Make MemoizedSeriesIterator not implement chunkenc.Iterator
2 years ago
beorn7 b0272255b7 storage: optimise sampleRing
2 years ago
Justin Lei 6985dcbe73 Optimize and test MemoizedSeriesIterator
2 years ago
Filip Petkovski 0d049feac7
Fix encoding samples in ChunkSeries (#12185)
2 years ago
Jeanette Tan 1102ffd188 Fix according to code review
2 years ago
Jeanette Tan e9a1e26ab7 Perform integer/float histogram type checking on conversions, and use a consistent method for determining integer vs float histogram
2 years ago
Björn Rabenstein 78cd9ae2c3
Merge pull request #12264 from rabenhorst/sample-ring-iterator-mixed-histograms-fix
2 years ago
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
Sebastian Rabenhorst 5d4ec08a1f
Fixed sampleRingIterator for mixed histograms
2 years ago
Matthieu MOREL fb3eb21230 enable gocritic, unconvert and unused linters
2 years ago
beorn7 717a3f8e25 storage: Manually expand `genericAdd` for specific types
2 years ago
beorn7 817a2396cb Name float values as "floats", not as "values"
2 years ago
beorn7 462240bc78 storage: add specialized buffers to sampleRing
2 years ago
beorn7 630bcb494b storage: Use separate sample types for histogram vs. float
2 years ago
Björn Rabenstein 6e0a46900b
Merge pull request #12192 from leizor/leizor/prometheus/issues/11204
2 years ago
Justin Lei f90013a5a0 Update storage/remote/codec.go
2 years ago
Justin Lei 83f43982c9 Add support for native histograms to concreteSeriesIterator
2 years ago
Xiaochao Dong (@damnever) 2b7202c4cc Validate the metric names and labels in the remote write handler
2 years ago
Bryan Boreham b987afa7ef labels: simplify call to get Labels from Builder
2 years ago
Björn Rabenstein 559adab471
Merge pull request #12085 from leizor/leizor/prometheus/issues/11204
2 years ago
Oleg Zaytsev beb7d3b80f
remote.Client: store urlString
2 years ago
Justin Lei 60ad864667 Remove hacky promql.Test native histogram thing
2 years ago
Justin Lei c16b6a0185 Handle native histograms in remote read
2 years ago
Arve Knudsen bc9a82f5a1
remote: Improve some comments (#12102)
2 years ago
Arve Knudsen 435b500de7
remote: Convert to RecoverableError using errors.As (#12103)
2 years ago
Julien Pivotto 475f9984d0
Merge pull request #11787 from damnever/perf/avoid-alloc-if-no-externallabels
2 years ago
Julien Pivotto dfd2b5340e
Merge pull request #11951 from Fish-pro/chore/httpvar
2 years ago
Justin Lei af1d9e01c7
Refactor tsdbutil for tests/native histograms (#11948)
2 years ago
Fish-pro 43d77f7c41 Use http constants instead of string
2 years ago
Charles Korn 0a1de58f7e
Mark Histogram.(Positive|Negative)Spans as non-nullable.
2 years ago
Björn Rabenstein 60d763282e
Merge pull request #11864 from prometheus/beorn7/histogram2
2 years ago
beorn7 49c5b1fae4 histograms: Fix counter reset header during merging
2 years ago
beorn7 1cfc8f65a3 histograms: Return actually useful counter reset hints
2 years ago
György Krajcsovits 2d9a9cbc08 Fix storage/remote/codec ignoreing histogram reset hint
2 years ago
Bryan Boreham faac4c066d package storage: fix up test not to access Labels internals
2 years ago
Jesus Vazquez 136956cca4
Attempt to append ooo sample at the end first (#11615)
2 years ago
Marc Tudurí 721f33dbb0
histograms: Add remote-write support for Float Histograms (#11817)
2 years ago
beorn7 d121db7a65
federate: Fix PeekBack usage
2 years ago
Xiaochao Dong (@damnever) 2d61d012ff Avoid copy during remote write if external labels is empty
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 ccea61c7bf
Merge pull request #11717 from bboreham/labels-abstraction
2 years ago
Sniper91 46fb802791
reset frameBytesLeft after writing (#11689)
2 years ago
Bryan Boreham 047585360b Update package storage/remote tests for new labels.Labels type
2 years ago
Bryan Boreham abd9909595 Update package storage/remote for new labels.Labels type
2 years ago
Bryan Boreham d6b97f631a Update package storage for new labels.Labels type
2 years ago
sniper91 16738b00e3 Do no re-use result slice in chunkSetToSeriesSet
2 years ago
Bryan Boreham 0853250695 Review feedback
2 years ago
Bryan Boreham 463f5cafdd storage: re-use iterators to save garbage
2 years ago
Bryan Boreham 3c7de69059 storage: allow re-use of iterators
2 years ago
Bryan Boreham 7ce09b4e39 storage: fix BenchmarkMergeSeriesSet
2 years ago
Julius Volz 1a2c645dfa Correctly handle error unwrapping in rules and remote write receiver
2 years ago
Ganesh Vernekar 42633bd05c
Merge pull request #11485 from t00350320/prometheus-office
2 years ago
tanghengjian 982007ecab
GetRefByhash will query a label's ref with hash value rather than lset.Hash().
2 years ago
Giedrius Statkevičius d1d2566055
remote/read_handler: pool input to Marshal() (#11357)
2 years ago
Björn Rabenstein bd26ce440c
storage: Avoid duplicate function call in sampleRingIterator (#11502)
2 years ago
Ganesh Vernekar 648be89822
Merge remote-tracking branch 'upstream/main' into fix-conflict
2 years ago
Signed-off-by: Jesus Vazquez 3362bf6d79
Fix merge conflicts
2 years ago
Jesus Vazquez 775d90d5f8
TSDB: Rename wal package to wlog (#11352)
2 years ago
Jesus Vazquez e934d0f011 Merge 'main' into sparsehistogram
2 years ago
Bryan Boreham 8120af22e2 benchmarks: SetBytes takes bytes per operation
2 years ago
Bryan Boreham 3330d85ba8
Replace sort.Strings and sort.Ints with faster slices.Sort (#11318)
2 years ago
Jesus Vazquez c1b669bf9b
Add out-of-order sample support to the TSDB (#11075)
2 years ago
Ganesh Vernekar d354f20c2a
Add a feature flag to control native histogram ingestion (#11253)
2 years ago
Bryan Boreham 3029320ce6 storage/remote: in tests use labels.FromStrings
2 years ago
Bryan Boreham ad1c257899 storage: in tests use labels.FromStrings
2 years ago
Ganesh Vernekar f540c1dbd3
Add support for histograms in WAL checkpointing (#11210)
2 years ago
Ganesh Vernekar 0f4e5196c4
Implement vertical compaction for native histograms (#11184)
2 years ago
beorn7 c9fd3c235d Merge branch 'main' into sparsehistogram
2 years ago
Levi Harrison 77a7af4461
Add histogram validation (#11052)
2 years ago
Levi Harrison 0db6b072bc
Export `histogramToHistogramProto()` (#11046)
2 years ago
Paschalis Tsilias d1122e0743
Introduce TSDB changes for appending metadata to the WAL (#10972)
2 years ago
beorn7 87351f2318 prompb: Modify layout of histograms
2 years ago
Levi Harrison 08f3ddb864
Sparse histogram remote-write support (#11001)
2 years ago
beorn7 28f028e938 Merge branch 'main' into sparsehistogram
2 years ago
Matthieu MOREL d56d0a9d52
(storage): move from github.com/pkg/errors to 'errors' and 'fmt' (#10946)
2 years ago
Leonardo Zamariola 3326df42bb
Removing global state modification on unit tests (fix #10033 #10034) (#10935)
2 years ago
beorn7 40ad5e284a Merge branch 'main' into beorn7/sparsehistogram
2 years ago
Matej Gera 1dd247f68b
Remote Write: Rename confusing `walDir` parameter to `dir` (#10464)
3 years ago
Bryan Boreham 4b9f248e85
unit tests: make all Labels sorted alphabetically (#10532)
3 years ago
beorn7 3bc711e333 Merge branch 'main' into sparsehistogram
3 years ago
Matthieu MOREL e2ede285a2
refactor: move from io/ioutil to io and os packages (#10528)
3 years ago
Chris Marchbanks a11e73edda
Fix a deadlock between Batch and FlushAndShutdown (#10608)
3 years ago
beorn7 7ee1836ef5 Merge branch 'main' into sparsehistogram
3 years ago
Wilbert Guo 83a2e52bc2
Add SyncForState Implementation for Ruler HA (#10070)
3 years ago
beorn7 4210aac74a Merge branch 'main' into sparsehistogram
3 years ago
beorn7 79376c1e94 Merge branch 'release-2.33' into beorn7/release
3 years ago
Chris Marchbanks e970acb085
Fix deadlock between adding to queue and getting batch
3 years ago