prometheus/cmd/promtool
Julien Pivotto bc9f9ee3aa
Backfilling: fast-path for non-consecutive blocks (#8324)
* Backfilling: optimize for non-consecutive blocks

When you have missing data for > 2 hours, you spend a lot of time
re-reading the complete file. It is not optimal.

This introduces a fastpath for this scenario.

Next, we do parse the metric even when we know we will not use it, based
on its timestamp. This only computes the metric when we know its
timestamp is right.

Signed-off-by: Julien Pivotto <roidelapluie@inuits.eu>
2020-12-30 02:06:41 +01:00
..
testdata promtool: Calculate mint and maxt per test (#8096) 2020-10-24 12:03:55 +01:00
archive.go Make file permissions set to allow for wider umask options. (#7782) 2020-08-12 23:23:17 +02:00
backfill.go Backfilling: fast-path for non-consecutive blocks (#8324) 2020-12-30 02:06:41 +01:00
backfill_test.go Backfilling: fast-path for non-consecutive blocks (#8324) 2020-12-30 02:06:41 +01:00
debug.go collect cpu and trace profiles with the promtool debug command (#4897) 2018-11-23 17:57:31 +02:00
main.go Promtool: add web config validation 2020-12-29 16:55:29 +01:00
main_test.go promtool: Add URL scheme when not provided (#7956) 2020-12-23 19:52:04 +01:00
tsdb.go promtool: Print block meta-data slightly more nicely 2020-12-28 16:55:12 +01:00
unittest.go promtool: Calculate mint and maxt per test (#8096) 2020-10-24 12:03:55 +01:00
unittest_test.go promtool: Calculate mint and maxt per test (#8096) 2020-10-24 12:03:55 +01:00