Commit Graph

240 Commits (42b546a43d9984d820a81723abe41013ca98f2ec)

Author SHA1 Message Date
Ganesh Vernekar c9d06f2826
tsdb: Replay m-map chunk only when required
2 years ago
Ganesh Vernekar 6c008ec56a
Merge pull request #11962 from jesusvazquez/jvp/protect-new-compaction-head-from-uninitialized-wbl
2 years ago
Đurica Yuri Nikolić c9b85afd93
Making the number of CPUs used for WAL replay configurable (#12066)
2 years ago
ansalamdaniel c1c444504e
Feat: metrics for head_chunks & wal folders (#12013)
2 years ago
Rens Groothuijsen d33eb3ab17
Automatically remove incorrect snapshot with index that is ahead of WAL (#11859)
2 years ago
Jesus Vazquez 5c3f058755 Add unit test and also protect truncateOOO
2 years ago
Justin Lei af1d9e01c7
Refactor tsdbutil for tests/native histograms (#11948)
2 years ago
George Krajcsovits 1f0cc09579
Export single ith test histogram generation functions (#11911)
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 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 c94a41c4b2
Merge pull request #11785 from Fish-pro/erroris
2 years ago
Fish-pro 6ed71a229e Use errors.Is to check for a specific error
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
Julien Pivotto 739494d81b
Fix alignment of atomic int64 (#11547)
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 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
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
Julien Pivotto ec6c1f17d1
Update dependencies (#11287)
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
Levi Harrison cb8582637a
Implement rollback for histograms (#11071)
2 years ago
Paschalis Tsilias d1122e0743
Introduce TSDB changes for appending metadata to the WAL (#10972)
2 years ago
beorn7 28f028e938 Merge branch 'main' into sparsehistogram
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
beorn7 4210aac74a Merge branch 'main' into sparsehistogram
3 years ago
Ganesh Vernekar 4cc25c0cb0
Fix panic on query when m-map replay fails with snapshot enabled (#10348)
3 years ago
Ganesh Vernekar 24827782cb
Fix panics when m-mapping head chunks (#10316)
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
Nick Pillitteri 084bd70708
Convert atomic Int64 to native type when logging value (#9938)
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
Dieter Plaetinck 0fac9bb859
Add basic initial developer docs for TSDB (#9451)
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
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 10d4cb6dc0
Merge remote-tracking branch 'upstream/main' into release-2.30-merge
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
Darshan Chaudhary 1f688657bf
Call delete on head if interval overlaps (#9151)
3 years ago
Ganesh Vernekar 30534e99d9
Take snapshot only after closing the WAL (#9328)
3 years ago
Bryan Boreham 87d909df4a
Remove symbols map from TSDB head (#9301)
3 years ago
Ganesh Vernekar 1315d8ecb6
Remove query hacks in the API and fix metrics (#9275)
3 years ago
Ganesh Vernekar 35b1a82594
Exemplars in snapshot (#9255)
3 years ago
Ganesh Vernekar eeace6bcab
Add couple of metrics to track sparse histograms in TSDB (#9271)
3 years ago
Ganesh Vernekar 8a5d8c15e3
Do not replay checkpoint if it is covered by snapshot (#9226)
3 years ago
Ganesh Vernekar 328a74ca36
Fix bugs and add enhancements to the chunk snapshot (#9185)
3 years ago
Julien Pivotto cab96a06ef
Merge release 2.29 in main (#9196)
3 years ago
Ganesh Vernekar f0688c21d6
Log sparse histograms into WAL and replay from it (#9191)
3 years ago
Ganesh Vernekar 095f572d4a
Sync sparsehistogram branch with main (#9189)
3 years ago
Bryan Boreham 040ef175eb
Optimise WAL loading by removing extra map and caching min-time (#9160)
3 years ago
Ganesh Vernekar ee7e0071d1
Snapshot in-memory chunks on shutdown for faster restarts (#7229)
3 years ago
Ganesh Vernekar 8b70e87ab9
Merge remote-tracking branch 'upstream/main' into sparse-refactor
3 years ago
Ganesh Vernekar 848cb5a6d6
Enhanced WAL replay for duplicate series record (#7438)
3 years ago
Ganesh Vernekar 8002a3ab80
Breakdown tsdb/head.go into multiple files (#9147)
3 years ago
Oleg Zaytsev f9482c5bf6
Clarify computeChunkEndTime's purpose (#9049)
3 years ago
Oleg Zaytsev b1ed4a0a66
LabelNames API with matchers (#9083)
3 years ago
Ganesh Vernekar 59d02b5ef0
tsdb: Block Head GC till pending readers are done reading (#9081)
3 years ago
Martin Disibio 1bcd13d6b5
Exemplar resize (#8974)
3 years ago
ide-rea 14b24d15b0
update checkpoint replay status (#8898)
3 years ago
Bryan Boreham dc8f505595
tsdb: coalesce lock/unlock operations for append (#9061)
3 years ago
beorn7 01957eee2b Fix interjections even more
3 years ago
Ganesh Vernekar 1acb701e5c
Fix TSDB race while reading histograms
3 years ago
Ganesh Vernekar 9f206a7a05
Fix race in TSBD while reading/writing histograms (#9051)
3 years ago
Dieter Plaetinck 99ae04bb6f add SHS chunk recoding and head cutting to head block (no tests yet)
3 years ago
Ganesh Vernekar 4c01ff5194
Bunch of fixes for sparse histograms (#9043)
3 years ago
Ganesh Vernekar f4d3af73f0
Query histograms from TSDB and unit test for append+query (#9022)
3 years ago
Ganesh Vernekar 04ad56d9b8
Append sparse histograms into the Head block (#9013)
3 years ago
Dieter Plaetinck 58917d1b76
sparsehistogram: integer types and timestamp separation (#9014)
3 years ago
Ganesh Vernekar 64bea6999e
HistogramAppender interface for sparse histograms (#9007)
3 years ago
Levi Harrison b5f6f8fb36 Switched to go-kit/log
4 years ago
Levi Harrison 7bc11dcb06
React UI: Add Starting Screen (#8662)
4 years ago
Callum Styan 8fd73b1d28
Add Exemplar Remote Write support (#8296)
4 years ago
Fiona Liao 9b83d8330a
Fix memSafeIterator.Seek() (#8748)
4 years ago
Marco Pracucci 52df5ef7a3
TSDB: do not allocate exemplars buffer if exemplars are disabled (#8746)
4 years ago