Commit Graph

90 Commits (6f0d6038b7f9430f023f3cddd9ea5b5e5e3c03cb)

Author SHA1 Message Date
riskrole 406bf775aa chore: fix some comments
3 months ago
machine424 92873d3009 feat: allow to delay head compaction start time helping Prometheus instances to
4 months ago
Ben Ye 246b7c6a5c
TSDB: Change block populator to accept postings index function (#14213)
5 months ago
Ben Ye 5a218708f1
tsdb: Extend compactor interface to allow compactions to create multiple output blocks (#14143)
6 months ago
Björn Rabenstein 3119b8a055
Merge pull request #13218 from machine424/ro-promtool
6 months ago
Oleksandr Redko f10c3454e9 Enable perfsprint linter and fix up code
7 months ago
machine424 c5a1cc9148
chore(tsdb): add a sandboxDir to DBReadOnly, the directory can be used for transient file writes.
8 months ago
Filip Petkovski 583f3e587c
Optimize histogram iterators (#13340)
10 months ago
Matthieu MOREL 8f6cf3aabb tsdb: use Go standard errors
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
Fiona Liao 5bee0cfce2
Change `ChunkReader.Chunk()` to `ChunkOrIterable()`
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
Arve Knudsen 4451ba10b4
Add context argument to IndexReader.Postings (#12667)
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
Justin Lei 32d87282ad
Add Zstandard compression option for wlog (#11666)
1 year ago
Matthieu MOREL bae9a21200
Merge branch 'main' into linter/nilerr
2 years ago
beorn7 c3c7d44d84 lint: Adjust to the lint warnings raised by current versions of golint-ci
2 years ago
Ganesh Vernekar 7309ac2721
Merge pull request #12257 from alexqyle/block-populator-rename
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
Alex Le 01d0dda4fc Rename PopulateBlockFunc to BlockPopulator
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
Oleg Zaytsev 3ded84e649
Fix TestCancelCompactions on windows
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
beorn7 1cfc8f65a3 histograms: Return actually useful counter reset hints
2 years ago
Marc Tudurí 9474610baf
Support FloatHistogram in TSDB (#11522)
2 years ago
Bryan Boreham 4b6a4d1425 Update package tsdb tests for new labels.Labels type
2 years ago
Signed-off-by: Jesus Vazquez 3362bf6d79
Fix merge conflicts
2 years ago
Jesus Vazquez e934d0f011 Merge 'main' into sparsehistogram
2 years ago
Ganesh Vernekar 758e29258b
Add/Improve unit tests for compaction with histogram Part 2 (#11343)
2 years ago
Jesus Vazquez c1b669bf9b
Add out-of-order sample support to the TSDB (#11075)
2 years ago
Ganesh Vernekar d354f20c2a
Add a feature flag to control native histogram ingestion (#11253)
2 years ago
beorn7 654c07783c Fix deprecation
3 years ago
beorn7 4210aac74a Merge branch 'main' into sparsehistogram
3 years ago
Eng Zer Jun 3e67654d37
refactor: use `T.TempDir()` and `B.TempDir` to create temporary directory
3 years ago
Peter Štibraný e51a17b501
CompactBlockMetas should produce correct mint/maxt for overlapping blocks. (#10108)
3 years ago
Björn Rabenstein 7e42acd3b1
tsdb: Rework iterators (#9877)
3 years ago
beorn7 5d4db805ac Merge branch 'main' into sparsehistogram
3 years ago
beorn7 4c28d9fac7 Move to histogram.Histogram pointers
3 years ago
beorn7 f1065e44a4 model: String method for histogram.Histogram
3 years ago
beorn7 c954cd9d1d Move packages out of deprecated pkg directory
3 years ago
Ganesh Vernekar c8b267efd6
Get histograms from TSDB to the rate() function implementation
3 years ago
beorn7 7a8bb8222c Style cleanup of all the changes in sparsehistogram so far
3 years ago
Ganesh Vernekar eedb86783e
Fix queries on blocks for sparse histograms and add unit test (#9209)
3 years ago
Ganesh Vernekar 42f576aa18
Add test for sparse histogram compaction (#9208)
3 years ago