Commit Graph

932 Commits (f97fa2736c89947aa91a201f23775a4a47916d65)

Author SHA1 Message Date
Paschalis Tsilias afab845e65
tsdb/agent: allow ingestion of OOO samples (#12897)
1 year ago
Ganesh Vernekar f5913266a1
Additionally wrap WBL replay error (#12406)
1 year ago
Oleg Zaytsev fe90dcccff
Revert ListPostings change (#12955)
1 year ago
Oleg Zaytsev 5bd8c8c561
Clarify Postings.At() contract (#12921)
1 year ago
Oleg Zaytsev 1492031ef2
Optimize ListPostings Next() (#12906)
1 year ago
Arve Knudsen de7e057d3c
tsdb: Tighten up sub-benchmark scope in BenchmarkQuerier (#12718)
1 year ago
Björn Rabenstein 0de7f39e6a
Merge pull request #12894 from linasm/linasm/test-case-for-ValidateHistogram
1 year ago
Linas Medziunas 1aad4004c3 Additional test case for ValidateHistogram
1 year ago
Bryan Boreham 6dcbd653e9
tsdb: register metrics after Head is initialized (#12876)
1 year ago
Goutham Veeramachaneni 86729d4d7b
Update exp package (#12650)
1 year ago
Björn Rabenstein f8dd8770ac
Merge pull request #12757 from bboreham/reuse-bufiter
1 year ago
Dimitar Dimitrov 1155d736b6
Improve sensitivity of TestQuerierIndexQueriesRace
1 year ago
Dimitar Dimitrov 6f1284ac93 Fix exit condition of TestQuerierIndexQueriesRace
1 year ago
Björn Rabenstein 864da019cd
Merge pull request #12874 from krajorama/outof-order-chunks
1 year ago
Björn Rabenstein 9071913fd9
Merge pull request #12831 from aknuds1/arve/posting-context
1 year ago
György Krajcsovits 9dbd100a5e Refactor solution to not repeat code
1 year ago
György Krajcsovits 96d03b6f46 Fix duplicate sample detection at chunks size limit
1 year ago
György Krajcsovits 56b3a015b6 Add regression test for duplicate detection at chunk size limit
1 year ago
Björn Rabenstein 83891135c6
Merge pull request #12838 from krajorama/fix-disappearing-span-panic
1 year ago
George Krajcsovits 3512b2d678
storage: make histogram reset handling consistent in chainSampleIterator (#12779)
1 year ago
Alan Protasio 959c98441b Add context argument to tsdb.PostingsForMatchers
1 year ago
zenador 69edd8709b
Add warnings (and annotations) to PromQL query results (#12152)
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
György Krajcsovits b2fa4d910a Fix more counterResetInAnyBucket edgecases
1 year ago
Fiona Liao 4419399e4e
Do WBL mmap marker replay concurrently (#12801)
1 year ago
Shirley d3a1044354
WBL loading: don't send empty buffers over chan (#12808)
1 year ago
Arve Knudsen 6daee89e5f
Add context argument to Querier.Select (#12660)
1 year ago
Bryan Boreham f711d71aa8
Merge pull request #12798 from fionaliao/remove-duplicated-max-time
1 year ago
Fiona Liao f211fcd92d
Remove duplicated ms.mmMaxTime check in WAL
1 year ago
George Krajcsovits b6f903b5f9
Fix handling of explicit counter reset header in histograms. (#12772)
1 year ago
Dimitar Dimitrov b40865833d
PostingsForMatchers race with creating new series (#12558)
1 year ago
Bryan Boreham c5671c6d97
Merge pull request #12755 from bboreham/rangequery-benchmark-mmap
1 year ago
Bryan Boreham bdc7983956 TSDB: re-use iterator when moving between series
1 year ago
Bryan Boreham 5d22d422ab
Merge pull request #12690 from michalbiesek/feat-go-bump
1 year ago
Bryan Boreham 0d283effa8 promql: force mmap of head chunks in BenchmarkRangeQuery
1 year ago
Gregor Zeitlinger f01718262a
Unit tests for native histograms (#12668)
1 year ago
Michal Biesek 04d7b4dbee
lint: Fix `SA1019` Using a deprecated function
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
Mustafa Ateş Uzun e5e51bebef
fix: error message typo
1 year ago
Julien Pivotto e3fabd5fdf
Merge pull request #12664 from prometheus/superq/cleanup_chunk_snapshots
1 year ago
SuperQ 8d38d59fc5
Cleanup temporary chunk snapshot dirs
1 year ago
Julien Pivotto c3311272d9
Merge pull request #12652 from colega/fix-typo-in-append-histogram-param-name
1 year ago
Oleg Zaytsev 6ea6def0d3
Use zeropool when replaying agent's DB WAL (#12651)
1 year ago
Oleg Zaytsev c810e7cae3
Fix typo in Appender.AppendHistogram() arg name
1 year ago
Oleg Zaytsev 61daa30bb1
Pass ref to SeriesLifecycleCallback.PostDeletion (#12626)
1 year ago
Oleg Zaytsev cd7d0b69a2
Check nil err first when committing (#12625)
1 year ago
cui fliter f26dfc95e6
fix struct name in comment (#12624)
1 year ago
Łukasz Mierzwa 3c80963e81
Use a linked list for memSeries.headChunk (#11818)
1 year ago
Robert Fratto 886945cda7
tsdb/agent: ensure that new series get written to WAL on rollback (#12592)
1 year ago
George Krajcsovits 6cd2d1621f
Hide histogram chunk append and reset header internals (#12352)
1 year ago
Björn Rabenstein 0e12f11d61
Merge pull request #12583 from prometheus/release-2.46
1 year ago
György Krajcsovits d4e355243a tsdbutil/ChunkFromSamplesGeneric should not panic
1 year ago
Julien Pivotto 7905594b52
Merge pull request #12557 from prometheus/beorn7/histogram
1 year ago
Julien Pivotto 1f5934e7be
Merge pull request #10623 from songjiayang/update-index
1 year ago
cui fliter 096ceca44f
remove repetitive words (#12556)
1 year ago
beorn7 0e3f35324b scrape: Enable ingestion of multiple exemplars per sample
1 year ago
Julien Pivotto 89e213bc02
Merge pull request #12546 from roidelapluie/removeimport
1 year ago
Justin Lei 32d87282ad
Add Zstandard compression option for wlog (#11666)
1 year ago
Julien Pivotto bf5bf1a4b3 TSDB: Remove usused import of sort
1 year ago
Julien Pivotto 8c8afec116
Merge pull request #12542 from merrickclay/tsdb-doc-comment
1 year ago
Julien Pivotto 0f85e4f41d
Merge pull request #12539 from bboreham/slices-sorts
1 year ago
Merrick Clay 70e41fc5ac improve incorrect doc comment
1 year ago
Bryan Boreham ce153e3fff Replace sort.Sort with faster slices.SortFunc
1 year ago
Marc Tudurí 4851ced266
tsdb: Support native histograms in snapshot on shutdown (#12258)
1 year ago
Julien Pivotto 9ff1f24efa
Merge pull request #12505 from pracucci/fix-infinite-loop-in-index-writer
1 year ago
Patrick Oyarzun 68e5937474
Apply relevant label matchers in LabelValues before fetching extra postings (#12274)
1 year ago
Bryan Boreham 5255bf06ad Replace sort.Slice with faster slices.SortFunc
1 year ago
Marco Pracucci 35069910f5
Fix infinite loop in index Writer when a series contains duplicated label names
1 year ago
Marco Pracucci 031d22df9e
Fix race condition in ChunkDiskMapper.Truncate() (#12500)
1 year ago
Bartlomiej Plotka 4062f12573
Merge pull request #12396 from leizor/leizor/chunk-opts
1 year ago
Nidhey Nitin Indurkar a8772a4178
Feat: Get block by id directly on promtool analyze & get latest block if ID not provided (#12031)
2 years ago
Alan Protasio 73078bf738
Opmizing Group Regex (#12375)
2 years ago
Julien Pivotto 6f97641a51
Merge pull request #12380 from mmorel-35/patch-2
2 years ago
Justin Lei e73d8b2084 Also pass chunkOpts into appendPreprocessor
2 years 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
zenador 37e5249e33
Use DefaultSamplesPerChunk in tsdb (#12387)
2 years ago
Baskar Shanmugam 905a0bd63a
Added 'limit' query parameter support to /api/v1/status/tsdb endpoint (#12336)
2 years ago
Alan Protasio 8c5d4b4add
Opmize MatchNotEqual (#12377)
2 years ago
Matthieu MOREL c8e7f95a3c ci(lint): enable predeclared linter
2 years ago
George Krajcsovits 92d6980360
Fix populateWithDelChunkSeriesIterator and gauge histograms (#12330)
2 years ago
Baskar Shanmugam f731a90a7f
Fix LabelValueStats in posting stats (#12342)
2 years ago
Xiaochao Dong 80b7f73d26
Copy tombstone intervals to avoid race (#12245)
2 years ago
Björn Rabenstein 30e263cf96
Merge pull request #12357 from krajorama/fix-histogram-appendable-emptybucket
2 years ago
Callum Styan 0d2108ad79
[tsdb] re-implement WAL watcher to read via a "notification" channel (#11949)
2 years ago
György Krajcsovits c6618729c9 Fix HistogramAppender.Appendable array out of bound error
2 years ago
Jesus Vazquez 1f1dac2cda
Merge pull request #12351 from alanprot/optimization/MatchNotRegexp
2 years ago
Alan Protasio c0f1abb574 MatchNotRegexp optimization
2 years ago
Robert Fratto 9e4e2a4a51
wlog: use filepath for getting checkpoint number
2 years ago
Björn Rabenstein 37fe9b89dc
Merge pull request #12055 from leizor/leizor/prometheus/issues/12009
2 years ago
Bryan Boreham 0ab9553611
tsdb: drop deleted series from the WAL sooner (#12297)
2 years ago
cui fliter 276ca6a883 fix some comments
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
Đurica Yuri Nikolić b028112331
Making the number of CPU cores used for sorting postings lists editable (#12247)
2 years ago
Ganesh Vernekar 7309ac2721
Merge pull request #12257 from alexqyle/block-populator-rename
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
beorn7 630bcb494b storage: Use separate sample types for histogram vs. float
2 years ago
Alex Le 01d0dda4fc Rename PopulateBlockFunc to BlockPopulator
2 years ago
Björn Rabenstein 8ed90b567b
Merge pull request #12234 from aknuds1/chore/improve-histogram-comments
2 years ago
Björn Rabenstein 6e0a46900b
Merge pull request #12192 from leizor/leizor/prometheus/issues/11204
2 years ago
Arve Knudsen cca7178a12 tsdb: Improve a couple of histogram documentation comments
2 years ago
Justin Lei 83f43982c9 Add support for native histograms to concreteSeriesIterator
2 years ago
Justin Lei 73ff91d182 Test fixes
2 years ago
Justin Lei c770ba8047 Add comment linking to PR
2 years ago
Justin Lei 79db04eb12 Adjust samplesPerChunk from 120 to 220
2 years ago
Ganesh Vernekar e709b0b36e
Merge pull request #12127 from codesome/ooo-mmap-replay
2 years ago
Ganesh Vernekar 5588cab8b2
Merge pull request #12173 from bboreham/builder-no-empty-labels
2 years ago
Alex Le 1936868e9d
Allow populate block logic in compact to be overriden outside Prometheus (#11711)
2 years ago
Ganesh Vernekar f55ab22179
Merge pull request #12186 from codesome/remove-file
2 years ago
Oleg Zaytsev 3ded84e649
Fix TestCancelCompactions on windows
2 years ago
Björn Rabenstein ae42dd4c4a
Merge pull request #12179 from colega/fix-block-compaction-failed-when-shutting-down
2 years ago
Oleg Zaytsev 6e2905a4d4
Use zeropool.Pool to workaround SA6002 (#12189)
2 years ago
Ganesh Vernekar b33a382646
Remove mistakenly added file
2 years ago
Alan Protasio 6ddadd98b4
Optimization on `mergedStringIter` (#12132)
2 years ago
Oleg Zaytsev 344c630857
Fix context.Canceled wrapping in compaction
2 years ago
Oleg Zaytsev 2f32a9e3c3
Test compaction not failed during shutdown
2 years ago
Bryan Boreham b987afa7ef labels: simplify call to get Labels from Builder
2 years ago
Bryan Boreham 90b2f7a540
Merge pull request #12161 from codesome/update-comment
2 years ago
Vernon Miller ca0abf26c5
Adds an affirmative log message for successful WAL repair (#12135)
2 years ago
Ganesh Vernekar 1b7d973f14
tsdb: Fix a comment in tsdb/head_read.go
2 years ago
Abhijit Mukherjee 8f6d5dcd45
Fix: getting rid of EncOOOXOR chunk encoding (#12111)
2 years ago
Ganesh Vernekar 58a8d526e8
Merge pull request #11992 from codesome/no-reencode-chunk
2 years ago
Ganesh Vernekar 0a3f203c63
Update tests to not assume the chunk implementation
2 years ago
Ganesh Vernekar 45b025898f
Add BenchmarkHeadChunkQuerier and BenchmarkHeadQuerier
2 years ago
Ganesh Vernekar 0c0c2af7f5
Do not re-encode head chunk in ChunkQuerier
2 years ago
Ganesh Vernekar 2af44f9558
tsdb: Update OOO min/max time properly after replaying m-map chunks
2 years ago
Ganesh Vernekar 1c3f1216b3
tsdb: Test querying after missing wbl with snapshots enabled
2 years ago
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
Bryan Boreham f34b2cede3 Remove microbenchmarks
2 years ago
Ganesh Vernekar 66da1d51fd
Merge pull request #12003 from codesome/redundant-chunk-access
2 years ago
Ganesh Vernekar d504c950a2
Remove unnecessary chunk fetch in Head queries
2 years ago
Vishal N 96ba6831ae Observe delta in seconds prometheus_tsdb_sample_ooo_delta
2 years ago
Jesus Vazquez 5c3f058755 Add unit test and also protect truncateOOO
2 years ago
Jesus Vazquez f269077855 Protect NewOOOCompactionHead from an unitialized wbl
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
Ganesh Vernekar 8e8b718365
Merge pull request #11858 from fayzal-g/fix-chunks-metrics
2 years ago