Commit Graph

801 Commits (7c75d233d03f449ef5a4169983bce126f2f32bce)

Author SHA1 Message Date
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
beorn7 1cfc8f65a3 histograms: Return actually useful counter reset hints
2 years ago
beorn7 57c18420ab histograms: General readability tweaks
2 years ago
fayzal-g cfa4ea53cc Correctly update chunksRemoved and chunks metrics
2 years ago
Ganesh Vernekar 6e560fe19b
tsdb: Avoid unnecessary allocation from 11779
2 years ago
Mingjie Shao 78d3c4e823 tsdb: Fixed typo in Histogram
2 years ago
Ganesh Vernekar cb2be6e62f
Merge pull request #11779 from codesome/memseries-ooo
2 years ago
Jesus Vazquez 136956cca4
Attempt to append ooo sample at the end first (#11615)
2 years ago
Marc Tudurí 721f33dbb0
histograms: Add remote-write support for Float Histograms (#11817)
2 years ago
Sebastian Rabenhorst c057318578
agent: native histogram support (#11842)
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 609b12d719
tsdb: Support gauge float histogram with recoding of chunk
2 years ago
Ganesh Vernekar 8ad0d2d5d7
tsdb: Find union of two sets of histogram spans
2 years ago
Ganesh Vernekar d7f5129042
tsdb: Add logic to determine appendable gauge float histograms
2 years ago
Ganesh Vernekar a87e7e9e33
tsdb: Add counter reset hint to histograms and support in WAL
2 years ago
Oleg Zaytsev de93a279a0
Shortcut postings for matchers when empty postings are selected (#11813)
2 years ago
Ganesh Vernekar fd89d7892c
Merge pull request #11809 from bboreham/dont-sort-postings-values
2 years ago
Ganesh Vernekar c94a41c4b2
Merge pull request #11785 from Fish-pro/erroris
2 years ago
György Krajcsovits 97626c9583 Fix comment
2 years ago
Björn Rabenstein c49a28bb97
Merge pull request #11782 from codesome/floatappendabletest
2 years ago
Bryan Boreham e61348d9f3 tsdb/index: fast-track postings for label=""
2 years ago
Bryan Boreham cf92cd2688 tsdb: sort values for Postings only when required
2 years ago
Ganesh Vernekar 7ed1ddb338
tsdb: Improve TestHistogramChunkAppendable and add new cases
2 years ago
Ganesh Vernekar fa0f04bbc6
Merge pull request #11805 from bboreham/fix-benchmark-intersect
2 years ago
Bryan Boreham 3da2c99ffd tsdb/index: don't call ExpandPostings in a benchmark
2 years ago
Bryan Boreham 4931983ca9 tsdb/index: make BenchmarkIntersect do work on each loop
2 years ago
Fish-pro 6ed71a229e Use errors.Is to check for a specific error
2 years ago
Ganesh Vernekar b42802af9a
tsdb: Improve TestFloatHistogramChunkAppendable and add new cases
2 years ago
Ganesh Vernekar c155c0e312
tsdb: Test staleness handling of FloatHistogram
2 years ago