Commit Graph

783 Commits (788061e50933ea140e84b36b3852acb0dc54c76f)

Author SHA1 Message Date
Ganesh Vernekar 8e8b718365
Merge pull request #11858 from fayzal-g/fix-chunks-metrics
2 years ago
beorn7 1cfc8f65a3 histograms: Return actually useful counter reset hints
2 years ago
beorn7 57c18420ab histograms: General readability tweaks
2 years ago
fayzal-g cfa4ea53cc Correctly update chunksRemoved and chunks metrics
2 years ago
Ganesh Vernekar 6e560fe19b
tsdb: Avoid unnecessary allocation from 11779
2 years ago
Mingjie Shao 78d3c4e823 tsdb: Fixed typo in Histogram
2 years ago
Ganesh Vernekar cb2be6e62f
Merge pull request #11779 from codesome/memseries-ooo
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
Sebastian Rabenhorst c057318578
agent: native histogram support (#11842)
2 years ago
Ganesh Vernekar 38fa151a7c
tsdb: Only initialise out-of-order fields when required
2 years ago
beorn7 6dcd03dbf3 tsdb: Add integer gauge histogram support
2 years ago
Ganesh Vernekar 57bcbf1888
Merge pull request #11783 from codesome/gauge-histogram
2 years ago
Ganesh Vernekar 3c2ea91a83
tsdb: Test gauge float histograms
2 years ago
Ganesh Vernekar 609b12d719
tsdb: Support gauge float histogram with recoding of chunk
2 years ago
Ganesh Vernekar 8ad0d2d5d7
tsdb: Find union of two sets of histogram spans
2 years ago
Ganesh Vernekar d7f5129042
tsdb: Add logic to determine appendable gauge float histograms
2 years ago
Ganesh Vernekar a87e7e9e33
tsdb: Add counter reset hint to histograms and support in WAL
2 years ago
Oleg Zaytsev de93a279a0
Shortcut postings for matchers when empty postings are selected (#11813)
2 years ago
Ganesh Vernekar fd89d7892c
Merge pull request #11809 from bboreham/dont-sort-postings-values
2 years ago
Ganesh Vernekar c94a41c4b2
Merge pull request #11785 from Fish-pro/erroris
2 years ago
György Krajcsovits 97626c9583 Fix comment
2 years ago
Björn Rabenstein c49a28bb97
Merge pull request #11782 from codesome/floatappendabletest
2 years ago
Bryan Boreham e61348d9f3 tsdb/index: fast-track postings for label=""
2 years ago
Bryan Boreham cf92cd2688 tsdb: sort values for Postings only when required
2 years ago
Ganesh Vernekar 7ed1ddb338
tsdb: Improve TestHistogramChunkAppendable and add new cases
2 years ago
Ganesh Vernekar fa0f04bbc6
Merge pull request #11805 from bboreham/fix-benchmark-intersect
2 years ago
Bryan Boreham 3da2c99ffd tsdb/index: don't call ExpandPostings in a benchmark
2 years ago
Bryan Boreham 4931983ca9 tsdb/index: make BenchmarkIntersect do work on each loop
2 years ago
Fish-pro 6ed71a229e Use errors.Is to check for a specific error
2 years ago
Ganesh Vernekar b42802af9a
tsdb: Improve TestFloatHistogramChunkAppendable and add new cases
2 years ago
Ganesh Vernekar c155c0e312
tsdb: Test staleness handling of FloatHistogram
2 years ago
Ganesh Vernekar 2820e327db
tsdb: Add staleness handling for FloatHistogram
2 years ago
Ganesh Vernekar e555469ba1
tsdb: Remove isHistogramSeries from memSeries
2 years ago
Marc Tudurí 9474610baf
Support FloatHistogram in TSDB (#11522)
2 years ago
Bryan Boreham 1848623c77 tsdb: re-use iterator when stepping through chunks
2 years ago
Bryan Boreham ccea61c7bf
Merge pull request #11717 from bboreham/labels-abstraction
2 years ago
Ganesh Vernekar 6fd89a6fd2
Add chunk encoding for float histogram (#11716)
2 years ago
Bryan Boreham 10b27dfb84 Simplify IndexReader.Series interface
2 years ago
Bryan Boreham 4b6a4d1425 Update package tsdb tests for new labels.Labels type
2 years ago
Bryan Boreham ce2cfad0cb Update package tsdb/record for new labels.Labels type
2 years ago
Bryan Boreham 543c318ec2 Update package tsdb for new labels.Labels type
2 years ago
Bryan Boreham f0ec81badd Update package tsdb/test for new labels.Labels type
2 years ago
Bryan Boreham 14ad2e780b Update package tsdb/agent for new labels.Labels type
2 years ago
Bryan Boreham a5bdff414b Update package tsdb/index tests for new labels.Labels type
2 years ago
Bryan Boreham d3d96ec887 tsdb/index: use ScratchBuilder to create Labels
2 years ago
Bryan Boreham 927a14b0e9 Update package tsdb/index for new labels.Labels type
2 years ago
Bryan Boreham 89bf6e1df9 tsdb: Tidy up some test code
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 f0866c0774 tsdb: optimise block series iterators
2 years ago
Bryan Boreham 3c7de69059 storage: allow re-use of iterators
2 years ago
Julien Pivotto 475cfe8a6b Merge remote-tracking branch 'origin/release-2.40'
2 years ago
Ganesh Vernekar db99fc43e4
Merge pull request #11632 from bboreham/improve-bbss
2 years ago
Ganesh Vernekar 54739a1465
Merge pull request #11674 from bboreham/fix-tsdb-test-mem
2 years ago
beorn7 5f366e9b62 histograms: Improve tests and fix exposed bugs
2 years ago
Julien Pivotto 0b302f8a39
Merge pull request #11662 from prometheus/release-2.40
2 years ago
Bryan Boreham 9853888f9b tsdb tests: allocate more reasonable sample slice
2 years ago
Ganesh Vernekar 72a48321da
Merge pull request #11633 from pstibrany/populate-error
2 years ago
Ganesh Vernekar b8b0d45d69
Fix reset of a histogram chunk iterator
2 years ago
Julien Pivotto 0372e259ba
Merge pull request #11634 from prometheus/release-2.40
2 years ago
Bryan Boreham 6bdecf377c
Switch from 'sanity' to more inclusive lanuage (#9376)
2 years ago
Peter Štibraný af838ccf83 Include source block in error message when loading chunk fails.
2 years ago
Bryan Boreham 1226922ff5 tsdb: improve blockBaseSeriesSet scan
2 years ago
Bryan Boreham 0c05f95e92 tsdb: use smaller allocation in blockBaseSeriesSet
2 years ago
Ganesh Vernekar ad79fb9f25
Do not error on empty chunk during iteration in populateWithDelChunkSeriesIterator
2 years ago
Ganesh Vernekar d0e683e26d
Add TestCompactHeadWithDeletion to test compaction failure after deletion
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
Oleg Zaytsev 8553a98267
Optimize postings offset table reading (#11535)
2 years ago
Julien Pivotto 739494d81b
Fix alignment of atomic int64 (#11547)
2 years ago
Ganesh Vernekar fa6e05903f
Merge pull request #11447 from prometheus/sparsehistogram
2 years ago
Viacheslav Panasovets 3d2e18bad5
Fix time.Since() in defer. Wrap in anonymous function (#11489)
2 years ago
Björn Rabenstein 503ffba49a
chunkenc: Slightly optimize xorWrite/xoRead (#11476)
2 years ago
Ganesh Vernekar 8ee4dfd40c
Fix the build after conflict resolution
2 years ago
Ganesh Vernekar 648be89822
Merge remote-tracking branch 'upstream/main' into fix-conflict
2 years ago
Ganesh Vernekar 8e29110949
Add/Improve unit tests for compaction with histogram (#11342)
2 years ago
Ganesh Vernekar 507bfa46fd
Fix HistogramChunk's AtFloatHistogram()
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
Sonali Rajput 9165aedb49 Fixed broken link in tsdb README.md
2 years ago
Jesus Vazquez e934d0f011 Merge 'main' into sparsehistogram
2 years ago
Ganesh Vernekar d0a6488c74
Update metrics for histograms
2 years ago
Bryan Boreham 9b31adc4e8
tsdb: fix up sort call with faster slices.Sort (#11380)
2 years ago
Bryan Boreham 3330d85ba8
Replace sort.Strings and sort.Ints with faster slices.Sort (#11318)
2 years ago
Bryan Boreham 7f2374b703
tsdb: faster postings sort with generic slices.Sort (#11054)
2 years ago
Ganesh Vernekar 83d738e263
Fix 'invalid magic number 0' bug (#11338)
2 years ago
Ganesh Vernekar f34aeefe6e
Allow overlapping blocks by default (#11331)
2 years ago
Robert Fratto 448cfda6c1
tsdb/agent: fix validation of default options (#9876)
2 years ago
Bryan Boreham d166da7b59
tsdb: stop saving a copy of last 4 samples in memSeries (#11296)
2 years ago
Bryan Boreham ff00dee262
tsdb: turn off transaction isolation for head compaction (#11317)
2 years ago
Bryan Boreham d0607435a2
tsdb: remove chunkRange and oooCapMax from memSeries (#11288)
2 years ago
Ganesh Vernekar 758e29258b
Add/Improve unit tests for compaction with histogram Part 2 (#11343)
2 years ago
Jesus Vazquez c1b669bf9b
Add out-of-order sample support to the TSDB (#11075)
2 years ago
Bryan Boreham af6167df58
WAL loading: don't send empty buffers over chan (#11319)
2 years ago
Ganesh Vernekar 2474c6fb2c
Error on amending histograms on append (#11308)
2 years ago
Bryan Boreham d2701be53a
tsdb: remove chunk pool from memSeries (#11280)
2 years ago
Björn Rabenstein 7ad36505d5
tsdb: Update comment about a possible space optimization (#11303)
2 years ago
Bryan Boreham e49d596fb1
WAL loading: check sample time is valid earlier (#11307)
2 years ago
Ganesh Vernekar d354f20c2a
Add a feature flag to control native histogram ingestion (#11253)
2 years ago
Ganesh Vernekar 83e11014dd
Remove unnecessary tsdb/tsdbutil/buffer.go (#11302)
2 years ago
Ganesh Vernekar b2d01cbc57
Remove unnecessary code in encoding/decoding histograms (#11252)
2 years ago
Bryan Boreham 136f8b0ebb
tsdb: comment reason for isolation tracking reads (#11301)
2 years ago
Bryan Boreham 176fa38e76 tsdb: in tests use labels.FromStrings
2 years ago
Bryan Boreham 0437dd7cee tsdb/wal: in tests use labels.FromStrings
2 years ago
Julien Pivotto ec6c1f17d1
Update dependencies (#11287)
2 years ago
Julien Pivotto 96d5a32659
Update go to 1.19, set min version to 1.18 (#11279)
2 years ago
Ganesh Vernekar 8f755f8f35
Extend createHead in tests to support histograms
2 years ago
Ganesh Vernekar f540c1dbd3
Add support for histograms in WAL checkpointing (#11210)
2 years ago
Ganesh Vernekar 6383994f3e
Improve WAL/mmap chunks test for histograms (#11208)
2 years ago
Ganesh Vernekar d209a29a5b
Add unit test for histogram append and various querying scenarios (#11194)
2 years ago
Abirdcfly 314aa45c2c
chore: remove duplicate word in comments (#11225)
2 years ago
Ganesh Vernekar 0f4e5196c4
Implement vertical compaction for native histograms (#11184)
2 years ago
Xiaochao Dong 09187fb0cc
Replay WAL concurrently without blocking (#10973)
2 years ago
Łukasz Mierzwa 3196c98bc2
Reduce memSeries memory usage by decoupling metadata (#11152)
2 years ago
beorn7 c9fd3c235d Merge branch 'main' into sparsehistogram
2 years ago
Xiaochao Dong 1078081aec
Fix race condition when updating lastSeriesID during loading chunk snapshot (#11099)
2 years ago
Levi Harrison 77a7af4461
Add histogram validation (#11052)
2 years ago
Levi Harrison cb8582637a
Implement rollback for histograms (#11071)
2 years ago
Bryan Boreham 00ec720c29
tsdb: extract functions to encode and decode labels (#11045)
2 years ago
Paschalis Tsilias a0f7c31c26
Fix type byte of WAL metadata records in docs (#11035)
2 years ago
Paschalis Tsilias d1122e0743
Introduce TSDB changes for appending metadata to the WAL (#10972)
2 years ago
ZhangJian He 95b7d058ac
Fix markdown syntax in tsdb index.md (#11032)
2 years ago
Levi Harrison 3d538351f6
Recognize exemplar record type in WAL watcher metrics (#11008)
2 years ago
Levi Harrison 08f3ddb864
Sparse histogram remote-write support (#11001)
2 years ago
beorn7 3ce988b031 Merge branch 'sparsehistogram' into beorn7/sparsehistogram
2 years ago
beorn7 28f028e938 Merge branch 'main' into sparsehistogram
2 years ago
beorn7 5d14046d28 tsdb: Fix chunk handling during appendHistogram
2 years ago
beorn7 642c5758ff tsdb: Expose histogram append bug
2 years ago
beorn7 49be0784b4 tsdb: Fix chunk handling during histogram recoding
2 years ago
Jesus Vazquez 6cfe44d7fd
WaitUntilIdle optimize idling time (#10878)
2 years ago
Julien Pivotto bacd776356
Merge pull request #10907 from damnever/fix/panic
2 years ago
Peter Štibraný ffc60d8397
Reduce chunk write queue memory usage 2 (#10874)
2 years ago
Xiaochao Dong (@damnever) 6b042da2d8 Fix panic if series is not found when deleting series
2 years ago
Steve Azzopardi 04fe2c9522
fix(tsdb): inc mmap corruption counter on mmap out of sequence error (#10406)
2 years ago
Peter Štibraný 03a2313f7a
Reduce chunk write queue memory usage (#10873)
2 years ago
Bryan Boreham 9f77d23889
tsdb: commit data periodically in CreateBlock (#10788)
2 years ago
Łukasz Mierzwa d65f037def
Don't increment prometheus_tsdb_compactions_failed_total when context is canceled (#10772)
2 years ago
beorn7 095b6c93dd Merge branch 'main' into sparsehistogram
2 years ago
Bryan Boreham 542b9ecdbd
tsdb: reduce sleep time when reading WAL (#10859)
2 years ago
songjiayang c2af0de522 make sure response error when TOC parse failed
2 years ago
beorn7 40ad5e284a Merge branch 'main' into beorn7/sparsehistogram
3 years ago
Bryan Boreham 9f79a6f4b5
tsdb: faster CRC check by avoiding allocations (#10789)
3 years ago
Matej Gera 1dd247f68b
Remote Write: Rename confusing `walDir` parameter to `dir` (#10464)
3 years ago
David Leadbeater 57f4aab27d
Update godoc links and remove note about TSDB versioning (#10754)
3 years ago
maizige 10b677b826
fix typo (#10696)
3 years ago
Filip Petkovski d3cb39044e
Fix typo in symbol table size exceeded error message (#10746)
3 years ago
Julien Pivotto 6e3a0efe40
Make necessary change to compile promql parser to wasm (#10683)
3 years ago
Matthias Rampke 78f2645787
test(tsdb): break up repeated test to avoid timeout (#10671)
3 years ago
Łukasz Mierzwa 88f9b248b4
Correctly format error message (#10669)
3 years ago