prometheus/cmd/promtool
Bryan Boreham 3c7de69059 storage: allow re-use of iterators
Patterned after `Chunk.Iterator()`: pass the old iterator in so it
can be re-used to avoid allocating a new object.

(This commit does not do any re-use; it is just changing all the method
signatures so re-use is possible in later commits.)

Signed-off-by: Bryan Boreham <bjboreham@gmail.com>
2022-12-15 18:32:45 +00:00
..
testdata Fix promtool check config not erroring properly on failures (#10952) 2022-07-01 14:38:49 +02:00
archive.go refactor (package cmd): move from github.com/pkg/errors to 'errors' and 'fmt' packages (#10733) 2022-05-24 16:58:59 +10:00
backfill.go refactor (package cmd): move from github.com/pkg/errors to 'errors' and 'fmt' packages (#10733) 2022-05-24 16:58:59 +10:00
backfill_test.go storage: allow re-use of iterators 2022-12-15 18:32:45 +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 delete redundant alias (#11180) 2022-08-31 15:50:38 +02:00
main_test.go Fix promtool check config not erroring properly on failures (#10952) 2022-07-01 14:38:49 +02:00
rules.go Optimise relabeling by re-using memory (#11147) 2022-08-19 15:27:52 +05:30
rules_test.go storage: allow re-use of iterators 2022-12-15 18:32:45 +00:00
sd.go no-default-scrape-port feature flag (#9523) 2022-07-20 13:35:47 +02:00
sd_test.go cmd/promtool: in tests use labels.FromStrings 2022-09-09 13:34:49 +02:00
tsdb.go storage: allow re-use of iterators 2022-12-15 18:32:45 +00:00
unittest.go Merge 'main' into sparsehistogram 2022-10-05 22:14:49 +02:00
unittest_test.go Disable time based retention in tests (#8818) 2022-01-02 23:46:03 +01:00