prometheus/cmd/promtool
Ben Ye 5a218708f1
tsdb: Extend compactor interface to allow compactions to create multiple output blocks (#14143)
* add hook to allow head compaction to create multiple output blocks

Signed-off-by: Ben Ye <benye@amazon.com>

* change Compact interface; remove BlockPopulator changes

Signed-off-by: Ben Ye <benye@amazon.com>

* rebase main

Signed-off-by: Ben Ye <benye@amazon.com>

* fix lint

Signed-off-by: Ben Ye <benye@amazon.com>

* fix unit test

Signed-off-by: Ben Ye <benye@amazon.com>

* address feedbacks; add unit test

Signed-off-by: Ben Ye <benye@amazon.com>

* Apply suggestions from code review

Signed-off-by: Ganesh Vernekar <ganeshvern@gmail.com>

* Update tsdb/compact_test.go

Signed-off-by: Ganesh Vernekar <ganeshvern@gmail.com>

---------

Signed-off-by: Ben Ye <benye@amazon.com>
Signed-off-by: Ganesh Vernekar <ganeshvern@gmail.com>
Co-authored-by: Ganesh Vernekar <ganeshvern@gmail.com>
2024-06-12 17:31:25 -04:00
..
testdata Fix yaml file format and clear ci errors 2024-03-21 11:32:02 +08:00
analyze.go Add analyze histograms command to promtool (#12331) 2024-01-10 17:32:36 +01:00
analyze_test.go Add analyze histograms command to promtool (#12331) 2024-01-10 17:32:36 +01:00
archive.go Use github.com/klauspost/compress for gzip and zlib 2024-02-22 17:08:15 +00:00
backfill.go tsdb: Extend compactor interface to allow compactions to create multiple output blocks (#14143) 2024-06-12 17:31:25 -04:00
backfill_test.go Tests: use replacement DeepEquals using go-cmp 2024-02-08 19:30:20 +00:00
debug.go refactor (package cmd): move from github.com/pkg/errors to 'errors' and 'fmt' packages (#10733) 2022-05-24 16:58:59 +10:00
main.go doc: Clarify the limits of dumping/backfilling via OpenMetrics 2024-05-21 14:50:06 +02:00
main_test.go Enable perfsprint linter and fix up code 2024-05-15 17:51:05 +03:00
metrics.go Add a header to count retried remote write requests (#12729) 2023-09-20 11:11:03 +01:00
query.go Add analyze histograms command to promtool (#12331) 2024-01-10 17:32:36 +01:00
rules.go refactor: utilize standard functions max/min 2024-04-04 03:15:38 +09:00
rules_test.go golangci-lint: enable whitespace linter (#13905) 2024-04-11 09:27:54 +01:00
sd.go promtool: use go-cmp instead of DeepEqual 2024-02-08 19:30:20 +00:00
sd_test.go Tests: use replacement DeepEquals using go-cmp 2024-02-08 19:30:20 +00:00
tsdb.go Merge pull request #13218 from machine424/ro-promtool 2024-05-21 13:27:40 +02:00
tsdb_test.go Merge pull request #13218 from machine424/ro-promtool 2024-05-21 13:27:40 +02:00
unittest.go Enable perfsprint linter and fix up code 2024-05-15 17:51:05 +03:00
unittest_test.go test: add promqltest package references 2024-05-08 16:08:04 +01:00