Commit Graph

232 Commits (26886d6d95fbf290df1526cc2a51355da611f8be)

Author SHA1 Message Date
Oleksandr Redko 8e5f0387a2
ci(lint): enable nolintlint and remove redundant comments (#12926)
1 year ago
Bryan Boreham 6fe8217ce4 tsdb: shrink txRing with smaller integers
1 year ago
Ganesh Vernekar f5913266a1
Additionally wrap WBL replay error (#12406)
1 year ago
Linas Medziunas 1aad4004c3 Additional test case for ValidateHistogram
1 year ago
György Krajcsovits 56b3a015b6 Add regression test for duplicate detection at chunk size limit
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
Arve Knudsen 4451ba10b4
Add context argument to IndexReader.Postings (#12667)
1 year ago
Arve Knudsen 6ef9ed0bc3
Add context argument to DB.Delete (#12834)
1 year ago
Fiona Liao 4419399e4e
Do WBL mmap marker replay concurrently (#12801)
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
Łukasz Mierzwa 3c80963e81
Use a linked list for memSeries.headChunk (#11818)
1 year ago
George Krajcsovits 6cd2d1621f
Hide histogram chunk append and reset header internals (#12352)
1 year ago
Justin Lei 32d87282ad
Add Zstandard compression option for wlog (#11666)
1 year ago
Marc Tudurí 4851ced266
tsdb: Support native histograms in snapshot on shutdown (#12258)
1 year ago
Justin Lei 4c4454e4c9 Group args to append to memSeries in chunkOpts
2 years ago
Justin Lei 89af351730
Remove samplesPerChunk from memSeries (#12390)
2 years ago
Björn Rabenstein 37fe9b89dc
Merge pull request #12055 from leizor/leizor/prometheus/issues/12009
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
Justin Lei c3e6b85631 Reverse test changes
2 years ago
Justin Lei 052993414a Add storage.tsdb.samples-per-chunk flag
2 years ago
Matthieu MOREL fb3eb21230 enable gocritic, unconvert and unused linters
2 years ago
beorn7 817a2396cb Name float values as "floats", not as "values"
2 years ago
Justin Lei 73ff91d182 Test fixes
2 years ago
Oleg Zaytsev 6e2905a4d4
Use zeropool.Pool to workaround SA6002 (#12189)
2 years ago
Abhijit Mukherjee 8f6d5dcd45
Fix: getting rid of EncOOOXOR chunk encoding (#12111)
2 years ago
Rens Groothuijsen d33eb3ab17
Automatically remove incorrect snapshot with index that is ahead of WAL (#11859)
2 years ago
Ganesh Vernekar d504c950a2
Remove unnecessary chunk fetch in Head queries
2 years ago
Justin Lei af1d9e01c7
Refactor tsdbutil for tests/native histograms (#11948)
2 years ago
beorn7 1cfc8f65a3 histograms: Return actually useful counter reset hints
2 years ago
Ganesh Vernekar cb2be6e62f
Merge pull request #11779 from codesome/memseries-ooo
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 3c2ea91a83
tsdb: Test gauge float histograms
2 years ago
Ganesh Vernekar c155c0e312
tsdb: Test staleness handling of FloatHistogram
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 4b6a4d1425 Update package tsdb tests for new labels.Labels type
2 years ago
Bryan Boreham d3d96ec887 tsdb/index: use ScratchBuilder to create Labels
2 years ago
Bryan Boreham 3c7de69059 storage: allow re-use of iterators
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
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
Ganesh Vernekar d0a6488c74
Update metrics for histograms
2 years ago
Bryan Boreham d166da7b59
tsdb: stop saving a copy of last 4 samples in memSeries (#11296)
2 years ago
Bryan Boreham d0607435a2
tsdb: remove chunkRange and oooCapMax from memSeries (#11288)
2 years ago
Jesus Vazquez c1b669bf9b
Add out-of-order sample support to the TSDB (#11075)
2 years ago
Bryan Boreham d2701be53a
tsdb: remove chunk pool from memSeries (#11280)
2 years ago
Ganesh Vernekar d354f20c2a
Add a feature flag to control native histogram ingestion (#11253)
2 years ago
Bryan Boreham 176fa38e76 tsdb: in tests use labels.FromStrings
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
beorn7 c9fd3c235d Merge branch 'main' into sparsehistogram
2 years ago
Levi Harrison 77a7af4461
Add histogram validation (#11052)
2 years ago
Paschalis Tsilias d1122e0743
Introduce TSDB changes for appending metadata to the WAL (#10972)
2 years ago
beorn7 642c5758ff tsdb: Expose histogram append bug
2 years ago
beorn7 40ad5e284a Merge branch 'main' into beorn7/sparsehistogram
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
Oleg Zaytsev af0f6da5cb
Fix chunk overflow appending samples at a variable rate (#10607)
3 years ago
beorn7 4210aac74a Merge branch 'main' into sparsehistogram
3 years ago
Łukasz Mierzwa da23c4649a
Enable misspell check in golangci-lint (#10393)
3 years ago
Ganesh Vernekar 4cc25c0cb0
Fix panic on query when m-map replay fails with snapshot enabled (#10348)
3 years ago
Björn Rabenstein d1edb006c1
Merge pull request #10341 from prometheus/release-2.33
3 years ago
Ganesh Vernekar 24827782cb
Fix panics when m-mapping head chunks (#10316)
3 years ago
Eng Zer Jun 3e67654d37
refactor: use `T.TempDir()` and `B.TempDir` to create temporary directory
3 years ago
Mauro Stettler 0df3489275
Write chunks via queue, predicting the refs (#10051)
3 years ago
beorn7 6f33ab2b35 Merge branch 'main' into sparsehistogram
3 years ago
Ganesh Vernekar 05d4d97bcd
Fix queries after a failed snapshot replay (#9980)
3 years ago
beorn7 e4e24453fa Merge branch 'main' into beorn7/merge2
3 years ago
Björn Rabenstein 7e42acd3b1
tsdb: Rework iterators (#9877)
3 years ago
Ganesh Vernekar 26c0a433f5
Support appending different sample types to the same series (#9705)
3 years ago
Darshan Chaudhary 9dcf8b2208
Add the ability to disable tsdb isolation (#9270)
3 years ago
beorn7 5d4db805ac Merge branch 'main' into sparsehistogram
3 years ago
Dieter Plaetinck 067efc3725
clarify HeadChunkID type and usage (#9726)
3 years ago
beorn7 4c28d9fac7 Move to histogram.Histogram pointers
3 years ago
beorn7 c954cd9d1d Move packages out of deprecated pkg directory
3 years ago
Dieter Plaetinck cda025b5b5
TSDB: demistify SeriesRefs and ChunkRefs (#9536)
3 years ago
Ganesh Vernekar c8b267efd6
Get histograms from TSDB to the rate() function implementation
3 years ago
Mateusz Gozdek 1a6c2283a3 Format Go source files using 'gofumpt -w -s -extra'
3 years ago
Xiaochao Dong c2d1c85857
close tsdb.head in test case (#9580)
3 years ago
beorn7 a9008f5423 Merge branch 'main' into sparsehistogram
3 years ago
Dieter Plaetinck d5afe0a577
TSDB: Use a dedicated head chunk reference type (#9501)
3 years ago
Ganesh Vernekar 85e6686f84
Add unit test for counter reset header
3 years ago
beorn7 7a8bb8222c Style cleanup of all the changes in sparsehistogram so far
3 years ago
beorn7 fd5ea4e0b5 Merge branch 'main' into sparsehistogram
3 years ago
Ganesh Vernekar 10bc6e80ee
Fix panic on failed snapshot replay and don't hard fail replay on disabled exemplars (#9438)
3 years ago
Ganesh Vernekar 1dd22ed655
Support stale samples for sparse histograms (#9352)
3 years ago
Ganesh Vernekar 30534e99d9
Take snapshot only after closing the WAL (#9328)
3 years ago
Ganesh Vernekar 8944520ccc
Fix deletion of old snapshots (#9314)
3 years ago
Bryan Boreham 2327236bb5
Decrement active_appenders metric when no samples added (#9230)
3 years ago
Bryan Boreham 87d909df4a
Remove symbols map from TSDB head (#9301)
3 years ago