Commit Graph

1081 Commits (79a0ba9d64d90ef786a5332223261061b63efc52)

Author SHA1 Message Date
Ben Kochie 17920623e7
Merge pull request #13391 from GiedriusS/compact_merge_func
11 months ago
Giedrius Statkevičius 3a48adc54f tsdb: add enable overlapping compaction
11 months ago
Giedrius Statkevičius 9b759135d1 tsdb/compact: fix passing merge func
11 months ago
Giedrius Statkevičius 61b4080a14
tsdb/{index,compact}: allow using custom postings encoding format (#13242)
11 months ago
Bryan Boreham bad3f23f23 agent: add BenchmarkCreateSeries
11 months ago
Bryan Boreham e64d7d8928 agent: make the global hash lookup table smaller
11 months ago
Bryan Boreham 252031c86f Revert "Adding small test update for temp dir using t.TempDir (#13293)"
11 months ago
Mile Druzijanic 2ddb3596ef
Adding small test update for temp dir using t.TempDir (#13293)
11 months ago
Björn Rabenstein 6b8e945388
Merge pull request #13289 from fpetkovski/fix-histogram-reuse
11 months ago
Bryan Boreham 8065bef172 Move metric type definitions to common/model
12 months ago
Filip Petkovski 1f69dcfa6b
Fix reusing float histograms
12 months ago
Bryan Boreham d0c2d9c0b9
Merge pull request #12878 from bboreham/loser-tree
12 months ago
Björn Rabenstein 928d07e3bd
Merge branch 'main' into arve/typos
12 months ago
Giedrius Statkevičius f36b56a62c
tsdb: remove unused option (#13282)
12 months ago
Matthieu MOREL 8f6cf3aabb tsdb: use Go standard errors
12 months ago
Arthur Silva Sens 5082655392
Append Created Timestamps (#12733)
12 months ago
Bryan Boreham ab3a47b489 postings: use Loser Tree for merge
12 months ago
Bryan Boreham ee700151a3 tsdb/index: add benchmark for Postings.Merge
12 months ago
Filip Petkovski 10a82f87fd
Enable reusing memory when converting between histogram types
12 months ago
Matthieu MOREL 9c4782f1cc
golangci-lint: enable testifylint linter (#13254)
12 months ago
Arve Knudsen 237bfea46b `chunks.Reader`: Fix typo in ChunkOrIterable doc string.
12 months ago
Matthieu MOREL 998fafe679
tsdb/wlog: use Go standard errors (#13144)
1 year ago
Julien Levesy e4ec263bcc
fix(wlog/watcher): read segment synchronously when not tailing (#13224)
1 year ago
Julien Levesy 501f514389
feat(tsdb/agent): notify remote storage when commit happens (#13223)
1 year ago
Oleksandr Redko 2a75604f8e
Enable default revive rules (#13068)
1 year ago
Fiona Liao b8bcaef14d
Fix histogram append errors (#13201)
1 year ago
Fiona Liao ce126230e7
Fix chunks iterator bug when tombstone covers a whole chunk (#13209)
1 year ago
Xiaochao Dong 28d8f1650c
tsdb: Make sure the cache for postings cardinality properly honors the label name (#12653)
1 year ago
Arve Knudsen 1200c89d0c
Fix tsdb.stripeSeries.gc so it handles conflicts properly (#13195)
1 year ago
Fiona Liao 5bee0cfce2
Change `ChunkReader.Chunk()` to `ChunkOrIterable()`
1 year ago
Arve Knudsen ecc37588b0
tsdb: seriesHashmap.set by making receiver a pointer (#13193)
1 year ago
Charles Korn 59844498f7
Fix issue where queries can fail or omit OOO samples if OOO head compaction occurs between creating a querier and reading chunks (#13115)
1 year ago
Bryan Boreham f13bc1a5c9
Merge pull request #13040 from bboreham/smaller-stripeseries
1 year ago
Oleg Zaytsev f997c72f29
Make head block ULIDs descriptive (#13100)
1 year ago
Julien Pivotto 1b84c01b76
Merge pull request #13143 from mmorel-35/patch-3
1 year ago
Julien Pivotto 9cb96ad2ea
Merge pull request #13142 from mmorel-35/patch-2
1 year ago
Julien Pivotto 58eca19ac0
Merge pull request #13141 from mmorel-35/patch-1
1 year ago
zenador 32ee1b15de
Fix error on ingesting out-of-order exemplars (#13021)
1 year ago
Matthieu MOREL d7c3bc4cb0
tsdb/tsdbutil: use Go standard errors
1 year ago
Matthieu MOREL e60a508dd8 tsdb/errors: fix errorlint linter
1 year ago
Matthieu MOREL e3041740e4 tsdb/fileutil: use Go standard errors
1 year ago
Matthieu MOREL dd8871379a remplace errors.Errorf by fmt.Errorf
1 year ago
Bryan Boreham 1bfb3ed062
Labels: reduce allocations when creating from TSDB WAL (#13044)
1 year ago
Julien Pivotto b718dca70b
Merge pull request #13108 from mmorel-35/patch-2
1 year ago
Julien Pivotto 3173feb5ef
Merge pull request #13107 from mmorel-35/patch-1
1 year ago
Julien Pivotto 90ed7b08dc
Merge pull request #13124 from mmorel-35/patch-5
1 year ago
Julien Pivotto afc57eb306
Merge pull request #13109 from mmorel-35/patch-3
1 year ago
Julien Pivotto b6274ee747
Merge pull request #13114 from mmorel-35/patch-4
1 year ago
Julien Pivotto 7bcae56b6e
Merge pull request #13130 from mmorel-35/patch-6
1 year ago
Julien Pivotto f53af5c849
Merge pull request #13131 from mmorel-35/patch-7
1 year ago
Julien Pivotto 17fe6bc296
Merge pull request #13133 from mmorel-35/patch-8
1 year ago
Bryan Boreham 65a443e6e3 TSDB: initialize conflicts map only when we need it.
1 year ago
Bryan Boreham 37573d083b
Merge pull request #13056 from songjiayang/symbolCacheEntry-filed-alignment
1 year ago
George Krajcsovits acc114fe55
Fix panic during tsdb Commit (#13092)
1 year ago
Matthieu MOREL 469e415d09
Update record.go
1 year ago
Matthieu MOREL 69c07ec6ae
Update record_test.go
1 year ago
Matthieu MOREL 63691d82a5
tsdb/record: use Go standard errors package
1 year ago
Matthieu MOREL c74b7ad4fb
Update tombstones.go
1 year ago
Matthieu MOREL 118460a64f
tsdb/tombstones: use Go standard errors package
1 year ago
Matthieu MOREL 4d6d3c1715
tsdb/encoding: use Go standard errors package
1 year ago
George Krajcsovits 39a35d92bc
tsdb/head: wlog exemplars after samples (#13113)
1 year ago
Matthieu MOREL 2972cc5e8f tsdb/index: use Go standard errors package
1 year ago
Bryan Boreham e6c0f69f98 TSDB: Only pay for hash collisions when they happen
1 year ago
Bryan Boreham ce4e757704 TSDB: refine variable naming in chunk gc
1 year ago
Bryan Boreham 071d5732af TSDB: refactor cleanup of chunks and series
1 year ago
machine424 a32fbc3658
head.go: Remove an unneeded snapshot trigger that was moved in https://github.com/prometheus/prometheus/pull/9328
1 year ago
Matthieu MOREL fb48a351f0 tsdb/wlog: use Go standard errors package
1 year ago
songjiayang 443867f1aa symbolCacheEntry field type alignment, thus saving 8 bytes.
1 year ago
Arve Knudsen ae9221e152
tsdb/index.Symbols: Drop context argument from Lookup method (#13058)
1 year ago
Matthieu MOREL ece8286305 tsdb/chunk: use Go standard errors package
1 year ago
Matthieu MOREL b60f9f801e tsdb/chunkenc: use Go standard errors package
1 year ago
Matthieu MOREL 724737006d
tsdb/agent: use Go standard errors package
1 year ago
Goutham Veeramachaneni b80617a248
Merge pull request #12881 from dimitarvdimitrov/dimitar/TestQuerierIndexQueriesRace-less-synchronisation
1 year ago
Linas Medziunas ebed7d0612 Change Validate to be a method on histogram structs
1 year ago
Linas Medziunas 1f8aea11d6 Move histogram validation code to model/histogram
1 year ago
Linas Medziunas 1cd6c1cde5 ValidateHistogram: strict Count check in absence of NaNs
1 year ago
beorn7 5dca994f64 Merge branch 'release-2.48' into beorn7/release
1 year ago
Jeanette Tan 52eb303031 Refactor assigning MinTime in histogram chunks
1 year ago
Jeanette Tan 3ccaaa40ba Fix according to code review
1 year ago
György Krajcsovits 4296ecbd14 tsdb/compact_test.go: test mixed typed series with PopulateBlock
1 year ago
Jeanette Tan 27abf09e7f Fix missing MinTime in histogram chunks
1 year ago
Jeanette Tan 2f7060bd5a Expand TestPopulateWithTombSeriesIterators to test earlier deletion intervals for histogram chunks as well as time-overlapping chunks
1 year ago
Jeanette Tan 7a4a1127b7 Expand TestPopulateWithTombSeriesIterators to test min max times of chunks, including mixed chunks
1 year ago
Jeanette Tan 04aabdd7cc Refactor TestPopulateWithDelSeriesIterator unit tests to reuse more code
1 year ago
Jeanette Tan 46be85f2dc Make TestPopulateWithDelSeriesIterator tests cover histogram types and check MinTime
1 year ago
Björn Rabenstein a43669e611
Merge pull request #12928 from alexandear/ci-enable-godot
1 year ago
Julien Pivotto f568221610
Merge pull request #13057 from prometheus/release-2.48
1 year ago
Oleksandr Redko fa90ca46e5 ci(lint): enable godot; append dot at the end of comments
1 year ago
Oleksandr Redko 8e5f0387a2
ci(lint): enable nolintlint and remove redundant comments (#12926)
1 year ago
zenador 80e977aae6
Remove `NewPossibleNonCounterInfo` and minimise creating empty annotations (#13012)
1 year ago
Márcio Carôso dff1c395f6
Expose --storage.tsdb.retention.time in metric prometheus_tsdb_retention_limit_seconds (#12986)
1 year ago
Björn Rabenstein 059f7f0738
Merge pull request #12997 from prometheus/wal-samples-size
1 year ago
Bryan Boreham 90e98e0235 tsdb: create isolation transaction slice on demand
1 year ago
Bryan Boreham 6fe8217ce4 tsdb: shrink txRing with smaller integers
1 year ago
Jeanette Tan 71a36d2396 Very minor refactor of the integer overflow fix
1 year ago
Bryan Boreham 26fa2e8356 TSDB: Pre-size buffer to read samples from WAL
1 year ago
George Krajcsovits 7d7b9eacff
Fix int32 overflow issues (#12978)
1 year ago
Paschalis Tsilias 42b8f2f5fc tsdb/agent: allow ingestion of OOO samples (#12897)
1 year ago
Ganesh Vernekar 4df2f2432b Additionally wrap WBL replay error (#12406)
1 year ago
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