Commit Graph

1194 Commits (1f40859f9e599de5f96e50a55b0eed614b7583a5)

Author SHA1 Message Date
Oleg Zaytsev 0300ad58a9
Revert the option regardless of error
4 months ago
Oleg Zaytsev d8e1b6bdfd
Store mmMaxTime in same field as seriesShard
4 months ago
Oleg Zaytsev b7f2f3c3ac
Add BenchmarkLoadRealWLs
4 months ago
Arve Knudsen 9af19ed856 Merge remote-tracking branch 'prometheus/main' into arve/wlog-histograms
4 months ago
Filip Petkovski be7a4c9b83
Ignore stale histograms for counter reset detection
4 months ago
Bryan Boreham bdfeae6489
Merge pull request #14474 from bboreham/shrink-memseries
4 months ago
Carrie Edwards a28d1974b4
Merge pull request #14438 from prometheus/cedwards/ooo-chunk-encoding
4 months ago
Carrie Edwards 02f05cbf2c Ensure lastMmapRef set to 0 if mmapRefs is empty
4 months ago
Carrie Edwards 79b53bd3de Refactor TestWBLReplay to use scenarios
4 months ago
Carrie Edwards 7e020bb4e9 Refactor
4 months ago
Carrie Edwards e0d7cef545 Rename some variables in Commit()
4 months ago
Carrie Edwards fb2ebe1c3d Fix linting
4 months ago
Carrie Edwards 2e0e4e9ce9 Add support for handling multiple chunks in OOO head
4 months ago
Bryan Boreham d878146c70 TSDB: shrink memSeries by moving bools together
5 months ago
Bryan Boreham d116bf7b9f
Merge pull request #14109 from harry671003/pass_limit_to_querier
5 months ago
Bryan Boreham 646e1e847d Merge branch 'release-2.53' into merge-2.53.1
5 months ago
Bryan Boreham 7083ae8267
[release 2.53] Revert 13583 to stop dropping samples in remote-write catch-up (#14446)
5 months ago
Arve Knudsen e410a215fb Fix a couple of comments
5 months ago
Bryan Boreham 4d7532f60b tsdb: reset symbol table for exemplars periodically
5 months ago
Bryan Boreham 5281a6bc1b TSDB: rebuild labels symbol-table on each compaction
5 months ago
Bryan Boreham 709c5d6fc3
TSDB: Lock around access to labels in head under -tags dedupelabels (#14322)
5 months ago
Bartlomiej Plotka 9198952f7c
[PRW 2.0] Merging `remote-write-2.0` feature branch to main (PRW 2.0 support + metadata in WAL) (#14395)
5 months ago
Carrie Edwards ee909b340b Fix test
5 months ago
Carrie Edwards 00499006c0 Testutil refactoring
5 months ago
Carrie Edwards 55f53330b2 Use storage.ExpandSamples instead of samplesFromIterator
5 months ago
Carrie Edwards 06550883c1 Clean up of tests and test utils
5 months ago
Carrie Edwards cb76884352 Fix linting
5 months ago
Carrie Edwards 45a32a29ef Update tsdb tests to use test utils.
5 months ago
Carrie Edwards 60917f628b Add test utilities for testing different sample types.
5 months ago
Bryan Boreham 134e8dc7af
TSDB: Simplify OOO Select by copying the head chunk (#14396)
5 months ago
Oleg Zaytsev 726ed124e4
Replace `ListPostings.Seek`'s binary search call by the generic `slices.BinarySearch` (#14393)
5 months ago
Arve Knudsen c3793f2b32 Merge remote-tracking branch 'prometheus/main' into arve/wlog-histograms
5 months ago
Björn Rabenstein 2e58d46522
Merge pull request #13662 from prometheus/nhcb
5 months ago
Bryan Boreham 348f7f8d0c
Merge pull request #14341 from charleskorn/charleskorn/cleanup-pending-read
5 months ago
Ben Ye 246b7c6a5c
TSDB: Change block populator to accept postings index function (#14213)
5 months ago
Ben Ye 5585a3c7e5
tsdb: expose hook to customize block querier (#14114)
5 months ago
Charles Korn 2c5e88748e
Fix issue where pending OOO read can be left dangling if creating querier fails
5 months ago
🌲 Harry 🌊 John 🏔 d5f6887294 Pass limit param as hint to storage.Querier
5 months ago
Jeanette Tan dda5f48c9e Merge branch 'main' into nhcb-review-2
5 months ago
Oleg Zaytsev fd1a89b7c8
Pass affected labels to `MemPostings.Delete()` (#14307)
5 months ago
Ben Ye 0e6fca8e76 add unit test
5 months ago
Ben Ye e7db2e30a4 fix check context cancellation not incrementing count
6 months ago
Ben Ye 5a218708f1
tsdb: Extend compactor interface to allow compactions to create multiple output blocks (#14143)
6 months ago
Sebastian Rabenhorst 05380aa0ac
agent db: make rejecting ooo samples configurable (#14094)
6 months ago
Oleg Zaytsev 64a9abb8be
Change LabelValuesFor() to accept index.Postings (#14280)
6 months ago
Bryan Boreham c5d923aa7c
Merge pull request #14279 from colega/fix-label-names-for-not-found
6 months ago
Oleg Zaytsev 10a3c7220b
`MemPostings.PostingsForLabelMatching()`: don't hold the mutex while matching (#14286)
6 months ago
Oleg Zaytsev 2dc177d8af
`MemPostings.Delete()`: reduce locking/unlocking (#13286)
6 months ago
Oleg Zaytsev d0d361da53
headIndexReader.LabelNamesFor: skip not found series
6 months ago
Jeanette Tan 14f8dded39 Merge branch 'main' into nhcb
6 months ago
Jeanette Tan 9adc1699c3 fix according to code review
6 months ago
Ben Ye 8a08f452b6
tsdb: Allow passing a custom compactor to override the default one (#14113)
6 months ago
Bryan Boreham 42b546a43d
tsdb: add details to duplicate sample error (#13277)
6 months ago
Arve Knudsen b8b9015e38 tsdb/index: Fix TestReader_PostingsForLabelMatchingHonorsContextCancel
6 months ago
Bryan Boreham 3ee52abb53 [ENHANCEMENT] TSDB: Save map lookup on validation
6 months ago
Bryan Boreham 7d98487447 [ENHANCEMENT] TSDB: let Resize re-use buffer
6 months ago
Bryan Boreham c0bb156eca [ENHANCEMENT] TSDB: Eliminate pointer when storing exemplars
6 months ago
Bryan Boreham 3eb5581877 [ENHANCEMENT] TSDB: Reduce map lookups on exemplar index
6 months ago
Bryan Boreham f0c50b5a66 [Test] TSDB: BenchmarkResizeExemplar multiple per series
6 months ago
Bryan Boreham 929fbf860e [Test] TSDB: let BenchmarkAddExemplar reuse slots
6 months ago
Ben Ye 6683895620
optimize regex matching for empty label values in posting match (#14075)
6 months ago
Arve Knudsen 694f717dc4 Watcher.readSegment: Only consider unknown rec types failures
6 months ago
Arve Knudsen a4942ffa8c Merge remote-tracking branch 'prometheus/main' into arve/wlog-histograms
6 months ago
Arve Knudsen b2396c0c8f Upgrade to golangci-lint v1.59.0
6 months ago
Arve Knudsen 90145fa884 Merge remote-tracking branch 'prometheus/main' into arve/wlog-histograms
6 months ago
Alan Protasio 8894d65cd6
Fix head stats and hooks when replaying a corrupted snapshot (#14079)
6 months ago
Björn Rabenstein 3119b8a055
Merge pull request #13218 from machine424/ro-promtool
6 months ago
Oleg Zaytsev fe9cb5a803
Check context every 128 labels instead of 100 (#14118)
6 months ago
Arve Knudsen 5ca56eeb6b
tsdb/index: Refactor Reader tests (#14071)
7 months ago
Oleksandr Redko f10c3454e9 Enable perfsprint linter and fix up code
7 months ago
György Krajcsovits b215a41be4 tsdb/index/postings: fix missing lock unlock
7 months ago
George Krajcsovits fdaafdb041
tsdb: check for context cancel before regex matching postings (#14096)
7 months ago
Jeanette Tan f028496133 Merge branch 'main' into nhcb
7 months ago
Arve Knudsen f094dd50e0 Merge remote-tracking branch 'prometheus/main' into arve/wlog-histograms
7 months ago
Arve Knudsen 5c4310aa37
[ENHANCEMENT] TSDB: Optimize querying with regexp matchers
7 months ago
Arve Knudsen 90f08de96a Merge remote-tracking branch 'prometheus/main' into arve/wlog-histograms
7 months ago
Arve Knudsen d699dc3c77
Fix language in docs and comments (#14041)
7 months ago
Arve Knudsen f1e4c33943 Merge remote-tracking branch 'prometheus/main' into arve/wlog-histograms
7 months ago
Arve Knudsen 108a6bc9f6 tsdb/chunkenc.Pool: Refactor Get and Put
7 months ago
Jeanette Tan 796b1bbfde Merge branch 'main' into nhcb
7 months ago
Arve Knudsen fb6a45f06b tsdb/wlog: Only treat unknown record types as failure
7 months ago
Alan Protasio d15869af32
Avoid creating new slices for labels values on postings for matchers (#13958)
7 months ago
György Krajcsovits bcafa5f1f9 Merge remote-tracking branch 'upstream/main' into update-nhcb
7 months ago
Arthur Silva Sens b5b5e1e5ae
Merge pull request #13919 from GiedriusS/dont_forget_to_unregister
7 months ago
Giedrius Statkevičius bdf490726a tsdb/wlog: add test for metrics unregistering
7 months ago
machine424 c5a1cc9148
chore(tsdb): add a sandboxDir to DBReadOnly, the directory can be used for transient file writes.
8 months ago
Giedrius Statkevičius 3b8fe00767 tsdb/wlog: unregister metrics on WL close
8 months ago
Matthieu MOREL 6f595c6762
golangci-lint: enable whitespace linter (#13905)
8 months ago
Jonathan Halterman 633224886a
Write out of order hint when initially creating meta file (#13894)
8 months ago
Łukasz Mierzwa 277f04f0c4
Stop compactions if there's a block to write (#13754)
8 months ago
Bryan Boreham fc567a1df8
Merge pull request #13889 from komisan19/refactor/utilize_standard_functions_max/min
8 months ago
Julien 8eb9228af8
Merge pull request #13864 from yeya24/expose-compactor-metrics
8 months ago
Jonathan Halterman 113938aeb8
Log out of order when writing a block (#13888)
8 months ago
komisan19 0249e080b4 refactor: utilize standard functions max/min
8 months ago
Nicolas Takashi 8125634086
[refactor] moving mergedOOOChunks Iterator (#13881)
8 months ago
carehabit a672662073
all: fix some typos (#13863)
8 months ago
Ben Ye ded35ef20d expose compactor metrics
8 months ago
Nicolas Takashi 0b762db154
[refactor] moving mergedOOOChunks to ooo_head_read
8 months ago
György Krajcsovits 2a4aa085d2 Merge branch 'main' into nhcb
8 months ago
George Krajcsovits 4eab18abd6
[nhcb branch] Use single bit to differentiate between optimized bounds and floats (#13828)
8 months ago
Arve Knudsen 35aab01de0 tsdb/wlog.Checkpoint: Handle also float histograms
8 months ago
Bartlomiej Plotka de05d5e11b
Merge pull request #13776 from aknuds1/arve/checkpoint-histogram-samples
8 months ago
Bartlomiej Plotka 25578f2b22
[test] Merge pull request #13790 from aknuds1/arve/retention-commit
8 months ago
Nick Pillitteri 481f14e1c0
TSDB: Don't rely on integer overflow in head compaction check (#13755)
8 months ago
Ben Ye ceca6c4716
[ENHANCEMENT] TSDB: Log more statistics during startup (#13838)
8 months ago
Bryan Boreham 78c0fd2f4d
Merge pull request #13799 from machine424/wbl
8 months ago
Bryan Boreham 080d440bf8 Merge remote-tracking branch 'origin/main' into pr/13461
8 months ago
György Krajcsovits a3d1a46eda Merge branch 'main' into nhcb
8 months ago
zenador 4acbb7dea6
Add custom buckets to native histogram chunks encoding (#13706)
8 months ago
machine424 2a2e2ed28b
chore(tsdb): set the wbl to nil as well in DBReadOnly.loadDataAsQueryable
8 months ago
Arve Knudsen 07332f7427 TestTimeRetention: Split into two sub-tests
8 months ago
Arve Knudsen af694dc295 Merge TestDB_BeyondTimeRetention into TestTimeRetention
8 months ago
Arve Knudsen 9c7a734063 tsdb.BeyondTimeRetention: Fix comment and test at retention duration
8 months ago
Bryan Boreham a0e93e403e
Merge pull request #13764 from bboreham/remove-deprecated-wal
9 months ago
Darshan Chaudhary b7047f7fcb
Fix retention boundary so 2h retention deletes blocks right at the 2h boundary (#9633)
9 months ago
Arve Knudsen cef1025ea8 tsdb/wlog.Checkpoint: Fix counting of histogram samples
9 months ago
Bryan Boreham d45b5deb75 TSDB: move function only used in tests
9 months ago
Bryan Boreham 3274cac0d3 TSDB: remove unused function
9 months ago
Arve Knudsen 1de49d5b69
Remove unused function tsdb/chunks.PopulatedChunk (#13763)
9 months ago
Bryan Boreham 87edf1f960 [Cleanup] TSDB: Remove old deprecated WAL implementation
9 months ago
Bryan Boreham d08f054950
[ENHANCEMENT] TSDB: Check CRC without allocating (#13742)
9 months ago
carrychair 856f6e49c8 fix function and struct name
9 months ago
Björn Rabenstein 9acae57937
Merge pull request #13681 from krajorama/native-latency-histograms
9 months ago
Bryan Boreham bbe39af99f
tsdb: zero out Labels and memSeries pointers in pool (#13712)
9 months ago
György Krajcsovits 4d4d822c36 Add native histograms to latency/duration metrics
9 months ago
machine424 f477e0539a
Move from golang.org/x/exp/slices into slices now that we only support Go >= 1.21
9 months ago
Bryan Boreham 925134e6de tsdb tests: make work with labels SymbolTable
9 months ago
Bryan Boreham 93b72ec5dd tsdb: create SymbolTables for labels as required
9 months ago
Bryan Boreham 4d6bb2e0e4
Merge pull request #13628 from bboreham/cleanup-13583
9 months ago
George Krajcsovits c6c8f63516
Merge pull request #13607 from fionaliao/ooo-samples-appended-type
9 months ago
Bryan Boreham 6ed56c9f04 WAL watcher: improve comments
9 months ago
Bryan Boreham a975a83079 tsdb: clean up Watcher debug messages
9 months ago
Bryan Boreham 78f46bccca tsdb/wlog tests: remove unnecessary sleep check
9 months ago
Callum Styan 0c71230784
fix bug that would cause us to endlessly fall behind (#13583)
9 months ago
Fiona Liao 841a133514 Move histogramsAppended to be more consistent
9 months ago
Fiona Liao 52389647b2 Add type label to outOfOrderSamplesAppended metric
9 months ago
Bryan Boreham c0e36e6bb3 Standardise exemplar label as "trace_id"
10 months ago
Bryan Boreham 12cac5bd5c tsdb tests: use go-cmp instead of DeepEquals
10 months ago
Bryan Boreham 17f48f2b3b Tests: use replacement DeepEquals in more places
10 months ago
Bryan Boreham 39af788dbd Tests: use replacement DeepEquals using go-cmp
10 months ago
Peter Štibraný e2b9cfeeeb
Enforce chunks ordering when writing index. (#8085)
10 months ago
Bryan Boreham 98c4889029
Merge pull request #9298 from Creatone/creatone/use-testify
10 months ago
Mikhail Fesenko 419dd265cc
Fix strange code, add messages to code brought in #8106 (#13509)
10 months ago
Bryan Boreham 16e68c01e4 tests: remove err from message when testify prints it already
10 months ago
Mikhail Fesenko 5f2c3a5d3e
Small improvements, add const, remove copypasta (#8106)
10 months ago
Paweł Szulik 5961f78186 Refactor tsdb tests to use testify.
10 months ago
Bryan Boreham 34230bb172 tsdb/wlog: close segment files sooner
10 months ago
Bryan Boreham cd4562d3a6
Merge pull request #13473 from bboreham/pure-mutex
10 months ago
Marco Pracucci 501bc6419e
Add ShardedPostings() support to TSDB (#10421)
10 months ago
Bryan Boreham 66237c1996 tsdb: use cheaper Mutex on series
10 months ago