Commit Graph

1081 Commits (79a0ba9d64d90ef786a5332223261061b63efc52)

Author SHA1 Message Date
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 b2396c0c8f Upgrade to golangci-lint v1.59.0
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 5c4310aa37
[ENHANCEMENT] TSDB: Optimize querying with regexp matchers
7 months ago
Arve Knudsen d699dc3c77
Fix language in docs and comments (#14041)
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
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 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
Marco Pracucci ec9cada56e
Remove unused isRegexMetaCharacter()
10 months ago
Marco Pracucci 515890ec53
Use Matcher.SetMatches()
10 months ago
Marco Pracucci a1a45990a2
Fix TestPostingsForMatcher
10 months ago
Bryan Boreham b9eab6e4b8
tsdb: simplify internal series delete function (#13261)
10 months ago
Bryan Boreham 3f30ad3cc2
Merge pull request #13015 from bboreham/smaller-txring
10 months ago
Arve Knudsen ba7012ec6a
TestHeadLabelValuesWithMatchers: Add test case (#13414)
10 months ago
Filip Petkovski 583f3e587c
Optimize histogram iterators (#13340)
10 months ago
Oleg Zaytsev ed172a6667
Optimize label values with matchers by taking shortcuts (#13426)
10 months ago
Julien Pivotto f52605b584
Merge pull request #13415 from aknuds1/arve/test-label-values-with-matchers-one-more
11 months ago
tyltr f97fa2736c remove obsolete build tag
11 months ago
Arve Knudsen 8598150f48 TestLabelValuesWithMatchers: Add test case
11 months ago
Marco Pracucci 7852a7c516
Fix regressions introduced by #13242
11 months ago
Giedrius Statkevičius b695e069b8
tsdb/main: wire "EnableOverlappingCompaction" to tsdb.Options (#13398)
11 months ago